Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-10-14 | Disable fd sharing for this release. Sorry. | Artur Grabowski | |
deraadt@ ok. | |||
2001-10-11 | Fix flawed logic when deciding if we should sleep when | Artur Grabowski | |
we are below the low watermark or if we should try to use up all buffers. | |||
2001-10-11 | Count pages not buffers. This fixes deadlock condition which mainly | Grigoriy Orlov | |
occurs on the fs with large block size. We can have situation where numcleanbufs < locleanbufs and numdirtybufs < hidirtybufs. So, buffer flushing daemon never wakeups and other processes asleep forever waiting for a clean buffers. We count pages only for the dirty buffers which are on freelist(BQ_DIRTY). niklas@ found this. Rename flasher to cleaner. Suggested by costa@. Discussed with niklas@, costa@, millert@, art@. Ok deraadt@. | |||
2001-10-07 | Clean up fdrelease. | Artur Grabowski | |
2001-10-07 | gc UF_MAPPED. | Artur Grabowski | |
2001-10-07 | Setting the VTIME to a value larger than 214 lead to an integer overflow | Artur Grabowski | |
in the calculation of the sleep timeout which could lead to a panic. Instead of doing the very error-prone, and in more than one way incorrect, sleep time calculation, allocate an external timeout and let it wake us. Reported by: Raan Young <raan@graand-visions.com> | |||
2001-10-02 | Bounds check index into routing table. Thanks to Ken Ashcraft of Stanford | Constantine Sapuntzakis | |
for finding this bug. | |||
2001-10-01 | Avoid panic when unconfiguring raid device which was autoconfigured and | Grigoriy Orlov | |
so has fdp->fd_cdir = NULL. From Tertou <TDeval@PrimeOBJ.COM> | |||
2001-09-29 | Avoid panic at time of raid autoconfiguration. Raid kernel thread starts | Grigoriy Orlov | |
when root filesystem isn't configured yet and some kernel variables can't be initialized. From Thierry Deval <TDeval@PrimeOBJ.COM> | |||
2001-09-29 | Move signal initialization before dostartuphooks to avoid panic at | Grigoriy Orlov | |
start of raid autoconfiguration thread. Required for upcoming RAIDFrame code update. From Thierry Deval <TDeval@PrimeOBJ.COM> | |||
2001-09-28 | Random cleanup (I don't like Ms in my tree). | Artur Grabowski | |
2001-09-28 | QBITS is always defined, no point in having all those cofusing ifdefs. | Artur Grabowski | |
2001-09-28 | Redundant prototypes. | Artur Grabowski | |
2001-09-28 | sysctl() support for getting the SYSV *info structs and the associated | Todd C. Miller | |
SYSV structs. To be used by ipcs(1). Based on work by simonb@netbsd.org | |||
2001-09-26 | At sonewconn() time, copy so_siguid & so_sigeuid to the newly created socket. | Theo de Raadt | |
Stops a nasty little program supplied by gustavo@core-sdi.com | |||
2001-09-21 | execsigs() could modify the wrong sigacts; based on David.Arana@eng.sun.com ↵ | Theo de Raadt | |
saying he could not understand how this worked | |||
2001-09-20 | cosmetic. | Artur Grabowski | |
2001-09-20 | occured->occurred | Mike Pechkin | |
idea from deraadt@ via NetBSD millert@ ok | |||
2001-09-20 | Get rid of B_VFLUSH. Tested by costa and me. | Grigoriy Orlov | |
2001-09-19 | Get rid of B_VFLUSH. Not relevant after the end of the AGE queue. | Constantine Sapuntzakis | |
2001-09-19 | merge vm/vm_kern.h into uvm/uvm_extern.h; art@ ok | Michael Shalayeff | |
2001-09-19 | No need for this complicated (and bug-prone) method for waking up the flusher. | Artur Grabowski | |
2001-09-19 | Unify elf32 and elf64 code with macros. This forced a renaming | Artur Grabowski | |
of a few functions from elf32. | |||
2001-09-17 | Don't treated return length of recvfrom() as a size_t... it's a socklen_t. | Jason Wright | |
2001-09-17 | The first implementation of the buffer flushing daemon. It solves our | Grigoriy Orlov | |
problem when syncer can't do its work because of vnode locks (PR1983). This also solves our problem where bigger number of buffers results in a much worse perfomance. In my configuration (i386, 128mb, BUFCACHEPERCENT=35) this speedup tar -xzf ports.tar.gz in 2-4 times. In configuration with low number of buffers and softupdates this may slowdown some operations up to 15%. The major difference with current buffer cache is that new implementation uses separate queues for dirty and clean buffers. I.e. BQ_LRU and BQ_AGE replaced by BQ_CLEAN and BQ_DIRTY. This simplifies things a lot and doesn't affect perfomance in a bad manner. Thanks to art and costa for pointing on errors. Tested by brad, millert, naddy, art, jj, camield art, millert ok. | |||
2001-09-17 | Allocate the profiling buffer from kernel_map, not with malloc. | Artur Grabowski | |
2001-09-16 | Feature-sync with NetBSD (add the "config" keyword). | Miod Vallat | |
Allow multiple occurences of "struct foo". Add syntaxic sugar to make use of "struct" and "member" keywords more useful in genassym.cf files. This will be badly documented in a manpage, to come in a few minutes. | |||
2001-09-16 | Add some missing lengths checks when passing data from userland to | Todd C. Miller | |
kernel. From based on NetBSD patches. | |||
2001-09-13 | Remove a comment that just doesn't make any sense. | Artur Grabowski | |
2001-09-13 | Change nsops to u_int to match prototype as discussed with millert@. | Federico G. Schwindt | |
2001-09-13 | In sys_semop(), change local nsops to size_t to avoid ending with a | Federico G. Schwindt | |
negative value if a sufficiently big number is used, thus passing the check. From NetBSD. | |||
2001-09-12 | Rename timeout_init to timeout_startup to deconfuse a bit. | Artur Grabowski | |
2001-09-12 | mbutl no more | Artur Grabowski | |
2001-09-11 | Don't include <vm/vm_kern.h> if you don't need foo_map. | Miod Vallat | |
2001-09-11 | Get the multi-inclusion code right this time. This broke mac68k builds, | Miod Vallat | |
as found by Takeshi Morimoto <takeshim@kyoto.zaq.ne.jp> | |||
2001-09-10 | remove useless debug function. | Grigoriy Orlov | |
2001-09-07 | Fix PR 2051, tested by miod@ | Angelos D. Keromytis | |
2001-09-07 | make starting of init slightly cleaner. Also sets initproc earlier. | Artur Grabowski | |
2001-09-05 | make sure that va_start() has matching va_end() | Theo de Raadt | |
2001-09-05 | use %ll instead of %q | Theo de Raadt | |
2001-09-01 | Add __HAVE_DEVICE_REGISTER to hp300/alpha (sparc64 already had it) and | Jason Wright | |
clean up the arch specific #ifdef's in subr_autoconf.c; from NetBSD. (tested by me on alpha/sparc64 and miod on hp300) | |||
2001-08-31 | implement autoconf mechanism using device_register(); from NetBSD. | Jason Wright | |
2001-08-30 | Add a simple protection against multiple inclusion of same headers. | Miod Vallat | |
This will be needed very soon. | |||
2001-08-30 | typo in the comment. | Mike Pechkin | |
2001-08-30 | Change getnewbuf interface so that getnewbuf always return | Grigoriy Orlov | |
a new buffer and indicate if it sleep while getting that buffer. This isn't make a much sense, but farther modifications will use it. Work by art@ | |||
2001-08-26 | sync | Theo de Raadt | |
2001-08-26 | be and le varients of syscallarg; from netbsd | Theo de Raadt | |
2001-08-25 | It makes more sense to have argc stored as a long on the stack, | Artur Grabowski | |
not int. Shouldn't affect any archs except sparc64 (now one step closer to a working userland). | |||
2001-08-25 | cleanup | Artur Grabowski | |
2001-08-23 | We can now move timeout_init into main(). | Artur Grabowski | |