summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
2001-05-02prevent overflow in sbreserve; from wollman@freebsd via netbsdNiels Provos
2001-05-02Use correct M_CACHE type; art@ ok.Federico G. Schwindt
2001-04-29use pool for vfs cache.Artur Grabowski
(We should really put that info into the vnode).
2001-04-29cleanup, remove incorrect commentArtur Grabowski
2001-04-09Add emulation of Linux features to procfs; mostly from NetBSD. ok deraadt@Thorsten Lockert
2001-04-06Get rid of vm_pmap from struct vmspace.Artur Grabowski
2001-04-06Avoid a livelock problem where the buffer cache code would beGrigoriy Orlov
recycling B_AGE buffers with dependencies. >From NetBSD. costa@ ok.
2001-04-06Typo in comment (henric@aimnet.com)Angelos D. Keromytis
2001-04-06Move offsetof define into sys/param.hConstantine Sapuntzakis
2001-04-05From angelos: (he can't commit this himself right now)Artur Grabowski
> I must have been on drugs...a deep copy is needed, or else there's double > free's when there's IPsec. [...] > This should solve the crash problems.
2001-04-04Add "softdep" option to mount. Update from rw/async to softdepGrigoriy Orlov
and otherwise are disabled. art@ ok.
2001-04-02On popular demand, the Linux-compatibility clone(2) implementation basedNiklas Hallqvist
on NetBSD's code, as well as some faked Posix RT extensions by me. This makes at least simple linuxthreads tests work.
2001-04-01Add a macro to initialize the contents of a vmcmd set.Artur Grabowski
Correctly initialize the vmcmds in linux_exec.
2001-03-30Be consistent when adjusting pkthdr.len; it doesn't matter currently,Angelos D. Keromytis
since the callers always do the right thing, but it might in the future. Pointed out by art@
2001-03-30Avoid a 'thundering herd' problem when many processes wait for free buffers.Artur Grabowski
Just wakeup one process (there is a possible bug here that will be fixed in the next round of cleanup). Some misc cleanup, especially in the comments.
2001-03-29Kludge around a problem where incorrect elf headers can causeArtur Grabowski
us to allocate too much memory in kmem_map and barf. This solution is completly bogus but it is the best I can do right now.
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