summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
2001-05-14More generic arguments to pipe_stat.Artur Grabowski
2001-05-14We already have a prototype for pipe_stat in sys/pipe.hArtur Grabowski
2001-05-14Use lockmgr locks for kern.malloc.kmemstat andAngelos D. Keromytis
hw.diskstats/hw.disknames.
2001-05-14Disk statistics via sysctl, first pass (locking to come in a few, thenAngelos D. Keromytis
use a separate sub-structure for the statistics)
2001-05-14Set a flag whenever a disk is added/removed, so sysctl knows when toAngelos D. Keromytis
update settings.
2001-05-14tty stats sysctl, deraadt@okAngelos D. Keromytis
2001-05-14Be more paranoid about zapping trailing comma.Angelos D. Keromytis
2001-05-14Use M_SYSCTL, fix a couple of buglets, style. deraadt@ okAngelos D. Keromytis
2001-05-13Add pad argument for p{read,write}v? to the syscall args comment forTodd C. Miller
consistency with syscallargs.h as well as sys_lseek.
2001-05-11kmemstats, nselcoll, forkstat, and nchstats structures throughAngelos D. Keromytis
sysctl. deraadt@ ok
2001-05-08correct 1 printf.Federico G. Schwindt
2001-05-08In extent_alloc_subregion1, be sure that the region returned don't runFederico G. Schwindt
past the end of the subregion; art@ok, deraadt@ok.
2001-05-07Check for failure now that uvm_vslock can return one. Before this, there wasArtur Grabowski
a risk that we could crash when doing physio/sysctl when the system was completly out of RAM and swap.
2001-05-06iprintf is not used with UVMArtur Grabowski
2001-05-06Remove the cpp magic for finding incorrect MAXALLOCSAVE.Artur Grabowski
2001-05-05Rename configure() to cpu_configure().Artur Grabowski
Move it from cpu_startup() to main().
2001-05-05Remove the (vaddr_t) casts inside the round_page and trunc_page macros.Artur Grabowski
We might want to use them on types that are bigger than vaddr_t. Fix all callers that pass pointers without casts.
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
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