summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
2001-03-28Allow tdbi's to appear in mbufs throughout the stack; this allowsAngelos D. Keromytis
security properties of the packets to be pushed up to the application (not done yet). Eventually, this will be turned into a packet attributes framework. Make sure tdbi's are free'd/cleared properly whenever drivers (or NFS) does weird things with mbufs.
2001-03-28Add some DIAGNOSTIC checks that panic on some of the common mistakes.Artur Grabowski
2001-03-25Reintroduce wakeup callConstantine Sapuntzakis
2001-03-25Not really a bug but one day panic might throw an exception or something. ↵Constantine Sapuntzakis
THanks to dawson and team for fix
2001-03-23Take vm_pmap out of struct vmspace if we are using UVM since UVM doesn'tTodd C. Miller
use that. Fixes size mismatch in i386 pmap.new kernel. This requires that users rebuild libkvm and friends using the new headers for ps et al to work with a new kernel.
2001-03-23Use pool to allocate processes.Artur Grabowski
2001-03-22Typo.Angelos D. Keromytis
2001-03-22Use pool for allocating vnodes.Artur Grabowski
Even though vnodes are never freed (could be) this gives us big memory and kmem_map savings.
2001-03-21Ok, I'm breaking my promise. I promised to not do anything with theArtur Grabowski
old vm system and I hoped that it would make people help me to switch all archs to uvm. But that didn't help. Fix pool to work with the old vm system (not optimal, ha!).
2001-03-21Regen with the right vnode_if.shArtur Grabowski
2001-03-21uvm_vnp_terminate expect the vnode to be locked.Artur Grabowski
Why didn't LOCKDEBUG catch this?
2001-03-21Fix a race which could cause us to write out data belongingArtur Grabowski
to some other buffer.
2001-03-16Use CIRCLEQ macros for mountlist.Artur Grabowski
2001-03-16Oops. fix thinko in last.Artur Grabowski
2001-03-16Use CIRCLEQ macros for mountlist.Artur Grabowski
2001-03-16No need to extern mountlist_slock here.Artur Grabowski
2001-03-16Initialize the mountlist_slock.Artur Grabowski
2001-03-16Use CIRCLEQ macros for mountlist.Artur Grabowski
2001-03-16Use a lockmgr lock for keeping down the vslocked memory in sysctlArtur Grabowski
instead of a home-brew equivalent.
2001-03-16Locking bug on spechash. Thanks to Dawson Engler and teamConstantine Sapuntzakis
2001-03-15Print a '*' in front of curproc in ps in ddb.Artur Grabowski
2001-03-15Triggered mechanism allows a handler to figure out whether a givenConstantine Sapuntzakis
timeout is actually executing.
2001-03-15Use buf_startConstantine Sapuntzakis
2001-03-14Slight cleanup.Artur Grabowski
2001-03-13Reserve some buffers for syncer daemon. This prevent deadlock in getblkGrigoriy Orlov
and getnewbuf. One process can sleep at "getnewbuf" waiting for a free buffer and it may held buffer 'A' busy. Other processes can return buffers on free lists, but they sleep on "getblk" waiting for buffer 'A'. art@ ok.
2001-03-09Remove random trailing whitespace.Artur Grabowski
From gluk.
2001-03-09regenArtur Grabowski
2001-03-09Add mlockall and munlockall (dummy for the old vm system).Artur Grabowski
2001-03-072nd bug on the road to shlibs on alpha:Niklas Hallqvist
Off by one page when loading.
2001-03-06different fix, we still need to deliver EV_EOF; from jlemon@freebsd.orgNiels Provos
2001-03-06fix a kqueue related panic triggered by shutdown, okay art@Niels Provos
2001-03-02Casting magic to avoid warnings on alpha.Artur Grabowski
2001-03-01syncNiels Provos
2001-03-01port kqueue changes from freebsd, plus all required openbsd glue.Niels Provos
okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org
2001-02-27Move buf_undirty and tbp flags manipulation back before calling theConstantine Sapuntzakis
soft updates code
2001-02-27art@ found a race in getnewbuf. bawrite can block so we need to restartConstantine Sapuntzakis
the whole buffer allocation process
2001-02-27Add wakeup_n and wakeup_one. wakeup_n will wakeup up to n sleeping processesConstantine Sapuntzakis
2001-02-27Instead of doing VOP_ISLOCKED, vn_lock(..LK_RETRY..) we can do ↵Artur Grabowski
vn_lock(..LK_NOWAIT..). Also, when we fail to get the lock on the vnode we want to sync, push it ahead one second in time. XXX - this could lead to some vnodes not being synced for a long time, but that is better than a panic.
2001-02-26regenArtur Grabowski
2001-02-26Since VLOCKSWORK is only set when LOCKDEBUG is defined,Artur Grabowski
ifdef the VOP_ISLOCKED code with LOCKDEBUG instead of DIAGNOSTIC.
2001-02-26regenArtur Grabowski
2001-02-26Indentation nit in the generated code.Artur Grabowski
2001-02-26Move v_writecount test back to it original placeConstantine Sapuntzakis
2001-02-26Make ref counts 32-bit unsigned ints as opposed to a potpourri of longs andConstantine Sapuntzakis
ints.
2001-02-24Move splbio's around so that they cover the data structures they need toConstantine Sapuntzakis
and don't cover the ones they don't
2001-02-24Cleanup of vnode interface continues. Get rid of VHOLD/HOLDRELE.Constantine Sapuntzakis
Change VM/UVM to use buf_replacevnode to change the vnode associated with a buffer. Addition v_bioflag for flags written in interrupt handlers (and read at splbio, though not strictly necessary) Add vwaitforio and use it instead of a while loop of v_numoutput. Fix race conditions when manipulation vnode free list
2001-02-23Try to avoid sleeping in the syncer waiting for vnode locks.Constantine Sapuntzakis
From FreeBSD
2001-02-23Change the B_DELWRI flag using buf_dirty and buf_undirty instead ofConstantine Sapuntzakis
manually twiddling it. This allows the buffer cache to more easily keep track of dirty buffers and decide when it is appropriate to speed up the syncer. Insipired by FreeBSD. Look over by art@
2001-02-23Remove the clustering fields from the vnodes and place them in theConstantine Sapuntzakis
file system inode instead
2001-02-22avoid sign extension for %bMichael Shalayeff