summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
2006-10-30use vp->v_type to index into vtypes rather then vp->v_tag,Thordur I. Bjornsson
fixing odd output in the 'show vnode' ddb code. ok mickey@
2006-10-23fix control message length check, needs CMSG_ALIGN()Henning Brauer
reported by ryo@nerv.org to netbsd, noticed by miod, ok millert
2006-10-21Retire B_LOCKED and BQ_LOCKED. The last real usage of theThordur I. Bjornsson
flag and the buffer queue went away when LFS was removed. ok, pedro@ "looks sane", deraadt@ testing: tybollt@solace.miun.se
2006-10-21tbert sent me a diff to change some 0 to NULLTed Unangst
i got carried away and deleted a whole bunch of useless casts this is C, not C++. ok md5
2006-10-19some buffers (containing metadata) can only be written during theMichael Shalayeff
bdwrite call made on 'em due to otherwise pending softdeps and thus being deferred by the sybcer. promote bdwrite into bawrite for those cases. tested by many. pedro@ ok
2006-10-18Return ECONNABORTED when a non-blocking socket has been shutdown() forKurt Miller
receives. Previously a non-blocking socket would mask this error by returning EWOULDBLOCK and mislead applications to think accept() may eventually succeed. Corrects a pthreads deadlock reported by Tero Koskinen <tero.koskinen at iki.fi> okay kettenis@, theo@, markus@
2006-10-17Kill unused code.Alexander Yurchenko
ok art@
2006-10-16regenPedro Martelletto
2006-10-16Use daddr64_t for logical blocks, okay krw@ thib@ mickey@Pedro Martelletto
2006-10-11Remove unused variable and simplify m_copym0(). Diff from bret.lambert at ↵Marco Pfatschbacher
gmail.com. Kill another unused variable in m_devget(). Pointed out by mcbride. Rename all offset variables from off0 to off. OK markus@, deraadt@
2006-10-09bret lambert sent a patch removing register. i made it ansi.Ted Unangst
2006-10-03regenPedro Martelletto
2006-10-03Introduce daddr64_t and use it for physical block numbersPedro Martelletto
Okay weingart@, "I'm game with putting my name on it" dlg@
2006-09-30no malloc debug but configured kmemstats allow 'sh mal' to print smth ↵Michael Shalayeff
useful; miod@ ok
2006-09-22regenPedro Martelletto
2006-09-22Put the LFS syscall stubs back in, turns out libc is unable to buildPedro Martelletto
without those, even though they're currently not implemented
2006-09-22regenPedro Martelletto
2006-09-22Remove LFS system callsPedro Martelletto
2006-09-22Unplug LFS from VFSPedro Martelletto
2006-09-19A bit of microoptimisation that doesn't hurt readability: Don't doMichael Knudsen
timeout_del() if we're going to timeout_add() in the next block. ok dlg (a while ago), markus
2006-08-28Another grammar nit; "please go ahead" jmc@.Tom Cosgrove
2006-08-28typos; from tbertJason McIntyre
(one not taken)
2006-08-17chose proper mountpoint in making decision on upgradingMichael Shalayeff
bwrte() to async op. this fixes in particular panics w/ softdep ffs mounted at a dir in an async mounted (mfs) file system and also a few other evil scenarios. this also matches a netbsd change 1.76 . tested by many on many archs; pedro@ ok
2006-08-10Fix a panic when more than the default number of sempahores areTodd C. Miller
allocated. Problem debugged by thib@
2006-08-09Propagate error on getnewbuf(), effectively allowing callers to bePedro Martelletto
notified of posted signals for the current process, okay tedu@. Based on initial diagnosis by R. Tyler Ballance <tyler@bleepsoft.com>
2006-08-03Remove the tb(4) line discipline and manual page. I found no man pagesMarc Balmer
referencing tb(4). ok deraadt
2006-07-26don't call vn_rdwr() with IO_NODELOCKED when the vnode actually isn'tNikolay Sturm
locked; with this diff VFSDEBUG kernels can boot again ok pedro, thib (who came up with the same diff)
2006-07-19Sprinkle some _Q_INVALIDATE love for timeout structures as well; ok otto@Miod Vallat
2006-07-19make kernels w/o PTRACE compile again.Alexander von Gernler
help from mickey@, "commit it" miod@
2006-07-14TypoPedro Martelletto
2006-07-12Small KNF.Michael Knudsen
2006-07-12zap some unused variables.Thordur I. Bjornsson
the only use was in an #if notyet chunk since '97. ok miod@ 'no objections' pedro@
2006-07-11add mount/vnode/buf and softdep printing commands; tested on a few archs and ↵Michael Shalayeff
will make pedro happy too (;
2006-07-10Handle executables that have all load sections marked read-only.Mark Kettenis
ok drahn@
2006-07-09Fix tab where space was meantPedro Martelletto
2006-07-08vinvalbuf() debugging aid, under VFSDEBUG.Thordur I. Bjornsson
ok pedro@
2006-07-06Make the ddb.log sysctl available as an in-ddb variable, $log, for consistency.Miod Vallat
2006-07-03also print vp in vprint (useful for debugging); pedro@ okMichael Shalayeff
2006-06-29Normalize the correction passed to adjtime(2) before using it in theMark Kettenis
__HAVE_TIMECOUNTER case. ok otto@
2006-06-27Adapt adjtime() code and put in a better stub for adjfreq() for theOtto Moerbeek
timecounters case. adjfreq() does not work with timecounters, but more is coming. with help from miod; tested by dlg@; ok miod@
2006-06-25rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAITNikolay Sturm
requested by and ok pedro
2006-06-23namei() only returns locked vnodes if LOCKLEAF is set, be more clearNikolay Sturm
about this ok pedro
2006-06-23consistantly count context switches on exit; miod@ okMichael Shalayeff
2006-06-21If tty timestamping is enabled, copy the tty timestamp early to preserveMarc Balmer
the value if it gets overwritten by other events.
2006-06-20pruning; ok mbalmerTheo de Raadt
2006-06-19Remove the no longer needed date/time calculations.Marc Balmer
2006-06-19move clock_subr.c to a better place, and now it is always in the kernelTheo de Raadt
so that things can use it; tested on all architectures; ok kettenis
2006-06-17avoid missing events for timestamping (dcd change at same time as cts);Theo de Raadt
mrd@alkemio.org
2006-06-15Nothing sets P_FSTRACE anymore, so remove all what's left of it.Miod Vallat
2006-06-15Make sys_adjfreq() compile on archs that use timecountersJonathan Gray
(ie sgi). Diff and request to commit from otto@