summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
2001-05-16regen for COMPAT_2{3,5}Todd C. Miller
2001-05-16Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.Todd C. Miller
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.
2001-05-16indentation nit.Artur Grabowski
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-05-16Use pool to allocate struct filedesc0 and struct file.Artur Grabowski
2001-05-16Introduce a new kernel option "SMALL_KERNEL" that will be used to keep theArtur Grabowski
kernel size down. Two changes. Uninline MALLOC and uninline a few mbuf macros. Saves 140k on alpha RAMDISK (although only 11k after gzip).
2001-05-16kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and ↵Todd C. Miller
kern_ipc_10.c for other compat modules.
2001-05-14Isn't copy 'n paste a great invention?Artur Grabowski
2001-05-14Remove some unnecessary code + some random cleanup.Artur Grabowski
2001-05-14gc OLD_PIPE.Artur Grabowski
2001-05-14ifdef FOO inside an ifdef FOO feels like overkill.Artur Grabowski
2001-05-14use fo_stat in fileops instead of huge switch statements.Artur Grabowski
2001-05-14Add a fo_stat member to struct fileops. Used soon.Artur Grabowski
Also add a stat function for kqueue from FreeBSD.
2001-05-14Implement a wrapper round vn_stat that takes the same argumentsArtur Grabowski
as soo_stat and pipe_stat.
2001-05-14More generic arguments to soo_stat.Artur Grabowski
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.