summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Collapse)Author
2000-06-22regen-vtraceMichael Shalayeff
2000-06-22make vtrace always obsolte; art@Michael Shalayeff
2000-06-20timeout_add: Remove the right timeout when we see that it is on the list.Artur Grabowski
2000-06-18Mark kernel threads as system processes. Make ps hide them by default,Niklas Hallqvist
show them with -k. Do not try to show RSS based values for them as they mess up column alignment. vmstat -f now shows kernel threads separately from rforks too.
2000-06-18Process ID 5 is now the crypto kernel thread.Angelos D. Keromytis
2000-06-17initial import of tcfs.Niels Provos
2000-06-16take MIN/MAX from param.h, okay theo@Niels Provos
2000-06-12update icmp6 name lookup code to conform to 05 draft. previous codeJun-ichiro itojun Hagino
was 03/05 chimera. ping6: -n by default due to too many false error report due to too long reverse query delay.
2000-06-08Add explicit inclusions of signalvar.h to files actually using syms definedNiklas Hallqvist
there but relying on an indirect inclusion
2000-06-07Allow passing an address to 'show malloc' and print out some information aboutArtur Grabowski
that address.
2000-06-07Change debug_malloc_print so that it can be called from ddb.Artur Grabowski
2000-06-07Default type and size to -1.Artur Grabowski
2000-06-06This code will not work without UVM.Artur Grabowski
Add an #error instead of breaking while compiling.
2000-06-06malloc debugging code. Enabled by option MALLOC_DEBUG.Artur Grabowski
Make sure you read the docs (malloc(9)) before use.
2000-06-06If the process is P_NOZOMBIE free it's resources in the reaper.Artur Grabowski
Noone will wait for it (because noone is allowed to wait for it).
2000-06-05No need to use curproc here. We already know who we are.Artur Grabowski
2000-06-05Changes to exit handling.Artur Grabowski
cpu_exit no longer frees the vmspace and u-area. This is now handled by a separate kernel thread "reaper". This is to avoid sleeping locks in the critical path of cpu_exit where we're not allowed to sleep. From NetBSD
2000-05-19Add enable to history when enable command i used. Reported by itojun@ and ↵Mats O Jansson
David Brownlee <abs@mono.org>. -moj
2000-05-08from art@:Michael Shalayeff
in timeout_hardclock_update() check out if there is anything in the timeout queue before calculating the return value. thanks to Adam Rogoyski <rogoyski@cs.utexas.edu> for debugging and testing help.
2000-05-06work around filleproc() vs exit1() race of p_rlimitTheo de Raadt
2000-05-05Don't set filesize limit to infinity on exit.Artur Grabowski
This is only needed in accounting and has to be done carefully because the limit structures are shared between processes. Found by Denis A. Doroshenko, analysed by Hannah Schroeter.
2000-05-05Add limfree prototype to sys/recosurcevar.h.Artur Grabowski
2000-05-01sys_semconfig goes foomTheo de Raadt
2000-05-01sys_semconfig goes awayTheo de Raadt
2000-04-29ktrace(2) should not follow symbolic links; from FreeBSDTodd C. Miller
2000-04-25Use CIRCLEQ_FOREACHConstantine Sapuntzakis
2000-04-25non-O_NOFOLLOW error introduced by accident, this is fragile code..Theo de Raadt
2000-04-21see if there is any meaning under curproc before using &proc0 in ↵Michael Shalayeff
vfs_syncwait(); from art@
2000-04-21Change kernel-only open flag FNOSYMLINK to userland-visible O_NOFOLLOW;Todd C. Miller
adapated from FreeBSD. Also change O_FSYNC to the more standard O_SYNC and document it. open(2) needs some real examples for proper usage, to come later.
2000-04-21do not declare and use a local variable which conflicts with a globalTheo de Raadt
variable which is used by a macro when VM is used instead of UVM. very cute, Art -- 10 points for artistic expression.
2000-04-20Add a function "ktrsettracevnode", that changes the ktrace vnode for a processArtur Grabowski
in a correct way. Use it in all places where the vnode was changed. (most of the earlier code was incorrect and had races).
2000-04-20syncTheo de Raadt
2000-04-20system call hookup for p{read,write}{,v}Theo de Raadt
2000-04-20p{read,write}{,v} from csapuntz, partial NetBSD origin I thinkTheo de Raadt
2000-04-19Unbreak genio (how could I commit that garbage?).Artur Grabowski
Let ktrwrite return an error if the write failed so that we won't loop in genio writing to a full disk (or whatever other error happened).
2000-04-19When logging genio, check if we need to yield in the same way as in uiomove.Artur Grabowski
2000-04-19Remove the roundrobin_attempts hack and replace it with per-process schedulingArtur Grabowski
flags (much nicer for future smp work). Add two generic functions yield() and preempt(). Use preepmt() in uio when we are told to yield. Based on my idea, code written by Jason Thorpe from NetBSD.
2000-04-19Don't abuse malloc to allocate small fixed-size structs that we can keep on ↵Artur Grabowski
the stack.
2000-04-19Change struct file interface methods read and write to pass file offset inConstantine Sapuntzakis
and out. Make pread/pwrite in netbsd & linux thread safe - which is the whole point anyway.
2000-04-18If the user does a huge I/O split the genio logging into smaller chunksArtur Grabowski
to avoid allocating a huge buffer which could lead to kmem starvation.
2000-04-15Fix sys_sync to actually sync all file systems.Constantine Sapuntzakis
2000-04-09range error; < cd_ndevs, not <=Theo de Raadt
2000-04-09Move a locking function that was spread throughout disk device drivers intoConstantine Sapuntzakis
the disk structure. The locking was mostly used in disk device drivers to prevent multiple disklabel operations from going on simultaneously against the device. Added disk_construct(), a constructor for the disk structure, that initializes the lock structure in disk. It is called by default in disk_attach() if it hasn't been called yet. Added disk_lock and disk_unlock
2000-04-09Added config_detach_children, config_activate_children.Constantine Sapuntzakis
Added ref counting to devices: device_ref, device_unref and a new method for devices : ca_zeroref, called when the ref count hits zero. Note that ca_zeroref may be called from interrupt context.
2000-04-08Initial check-in for support of 32-bit CardBus PC Cards; from NetBSD. On manyAaron Campbell
machines, this code needs the new PCIBIOS* options enabled in the kernel config file to work, but your mileage may vary. Included is a working 3c575 driver for 3Com 10/100 CardBus PC Card NICs (tested only with the 'C' revision). The 3c575 is the pccard version of the PCI EtherLink XL cards, and thus the xl driver has been split into /sys/dev/ic.
2000-04-06Random cleanup.Artur Grabowski
2000-04-01fdup could fail when want for fdalloc > than the free fd in the block.Niels Provos
slightly different fix than in the bug report by Rob Pickering <rob@syntonet.co.uk>
2000-03-23Iiieeek! This kludge was almost funny.Artur Grabowski
Probably something from the stone age. Kill it.
2000-03-23Don't reinitialize the tsleep and ITIMER_REAL timers all the time.Artur Grabowski
The function and the argument never change.
2000-03-23No need for our own declaration of lbolt.Artur Grabowski