Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-03-02 | Casting magic to avoid warnings on alpha. | Artur Grabowski | |
2001-03-01 | sync | Niels Provos | |
2001-03-01 | port 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 | |||
2001-02-27 | Move buf_undirty and tbp flags manipulation back before calling the | Constantine Sapuntzakis | |
soft updates code | |||
2001-02-27 | art@ found a race in getnewbuf. bawrite can block so we need to restart | Constantine Sapuntzakis | |
the whole buffer allocation process | |||
2001-02-27 | Add wakeup_n and wakeup_one. wakeup_n will wakeup up to n sleeping processes | Constantine Sapuntzakis | |
2001-02-27 | Instead of doing VOP_ISLOCKED, vn_lock(..LK_RETRY..) we can do ↵ | Artur Grabowski | |
vn_lock(..LK_NOWAIT..). Also, when we fail to get the lock on the vnode we want to sync, push it ahead one second in time. XXX - this could lead to some vnodes not being synced for a long time, but that is better than a panic. | |||
2001-02-26 | regen | Artur Grabowski | |
2001-02-26 | Since VLOCKSWORK is only set when LOCKDEBUG is defined, | Artur Grabowski | |
ifdef the VOP_ISLOCKED code with LOCKDEBUG instead of DIAGNOSTIC. | |||
2001-02-26 | regen | Artur Grabowski | |
2001-02-26 | Indentation nit in the generated code. | Artur Grabowski | |
2001-02-26 | Move v_writecount test back to it original place | Constantine Sapuntzakis | |
2001-02-26 | Make ref counts 32-bit unsigned ints as opposed to a potpourri of longs and | Constantine Sapuntzakis | |
ints. | |||
2001-02-24 | Move splbio's around so that they cover the data structures they need to | Constantine Sapuntzakis | |
and don't cover the ones they don't | |||
2001-02-24 | Cleanup of vnode interface continues. Get rid of VHOLD/HOLDRELE. | Constantine Sapuntzakis | |
Change VM/UVM to use buf_replacevnode to change the vnode associated with a buffer. Addition v_bioflag for flags written in interrupt handlers (and read at splbio, though not strictly necessary) Add vwaitforio and use it instead of a while loop of v_numoutput. Fix race conditions when manipulation vnode free list | |||
2001-02-23 | Try to avoid sleeping in the syncer waiting for vnode locks. | Constantine Sapuntzakis | |
From FreeBSD | |||
2001-02-23 | Change the B_DELWRI flag using buf_dirty and buf_undirty instead of | Constantine Sapuntzakis | |
manually twiddling it. This allows the buffer cache to more easily keep track of dirty buffers and decide when it is appropriate to speed up the syncer. Insipired by FreeBSD. Look over by art@ | |||
2001-02-23 | Remove the clustering fields from the vnodes and place them in the | Constantine Sapuntzakis | |
file system inode instead | |||
2001-02-22 | avoid sign extension for %b | Michael Shalayeff | |
2001-02-22 | ELF uses more than 5 vmcmds by default, so grow the default vmcmd set size | Artur Grabowski | |
to 8. At the same time it seemed like a good idea to avoid to always malloc a new vmcmd array, so put the default sized array into struct exec_vmcmd_set. We might want to make a linked list of vmcmd arrays or exec_vmcmd_sets instead of reallocating them some time in the future, but right now this seems like a waste of time. | |||
2001-02-21 | Latest soft updates from FreeBSD/Kirk McKusick | Constantine Sapuntzakis | |
Snapshot-related code has been commented out. | |||
2001-02-20 | Add M_ZERO option to malloc. Causes malloc to return a zero'ed buffer. | Constantine Sapuntzakis | |
Used by the new soft updates code | |||
2001-02-20 | use void * consistently in vfs_mount and sys_mount. ok @art | assar | |
2001-02-19 | Indentation nit. | Artur Grabowski | |
2001-02-19 | When doing an assertion for phz, just do it once when we set phz, | Artur Grabowski | |
not once per process. | |||
2001-02-19 | Fix LOCKDEBUG compile. | Artur Grabowski | |
2001-02-19 | Clean up spl handling. | Artur Grabowski | |
2001-02-16 | typo (incidentally, removed a bogus -k in the cvs file, the update | Marc Espie | |
will trigger $OpenBSD$ fill-in) | |||
2001-02-14 | make sure we do not pass shared M_EXT mbuf. will avoid | Jun-ichiro itojun Hagino | |
possible shared mbuf overwrite if we use bridge/multicast/loopback/whatever. sync with kame | |||
2001-02-13 | More sane spl handling. Don't just assume that we're called at spl0. | Artur Grabowski | |
2001-02-13 | No need to cast splx to (void). | Artur Grabowski | |
2001-02-13 | Use MIN, not min when counting the pages we steal. | Artur Grabowski | |
min is a function taking u_int arguments and we are counting signed longs here. | |||
2001-02-13 | KNF | Theo de Raadt | |
2001-02-12 | Check if softdep is enabled for this fs before calling softdep's | Federico G. Schwindt | |
fsync; art@ ok. | |||
2001-02-10 | new symbol handling in ddb for ELF, there is still a problem with hangman on ↵ | Niklas Hallqvist | |
alpha though.. | |||
2001-02-09 | return error from soaccept() upwards. part of accept(2) fix against RST | Jun-ichiro itojun Hagino | |
right after handshake. | |||
2001-02-08 | do not print stuff when not verbose | Michael Shalayeff | |
2001-02-07 | return ECONNABORTED, if the socket (tcp connection for example) | Jun-ichiro itojun Hagino | |
is disconnected by RST right before accept(2). fixes NetBSD PR 10698/12027. checked with SUSv2, XNET 5.2, and Stevens (unix network programming vol 1 2nd ed) section 5.11. | |||
2001-02-06 | spelling and KNF. | Federico G. Schwindt | |
2001-02-05 | only attach pseudo-device if it's counter is above zero; deraadt@, maja@ ok | Michael Shalayeff | |
2001-02-05 | If kernel is compile with support for DDB add a ddb command to enter | Mats O Jansson | |
ddb from boot -c. -moj | |||
2001-02-04 | Add support for pseudo devices. Based on the new code in config. | Mats O Jansson | |
N.B. this change requires the kernel to be configured with a new config since it need new information from ioconf.c. -moj ok @deraadt | |||
2001-02-03 | Do a check for the OpenBSD note before doing any emulation probes. | Artur Grabowski | |
This way OpenBSD will be explicitly treated first and not handled as a fallback. This should speed archs with many emulations. | |||
2001-01-31 | add kern.cp_time sysctl, to be used by various things | Theo de Raadt | |
2001-01-29 | Allow syscall aliasing to allow for multiple linux syscalls to be mapped | jasoni | |
to the same native syscall. To quote Jaromir's NetBSD commit if the third argument in syscall.conf matches [a-z0-9_], use it as a function alias instead of the function name in { ... } - from NetBSD, deraadt@ ok. | |||
2001-01-25 | spelling | Todd T. Fries | |
2001-01-24 | KGDB for i386 from NetBSD via niklas, with tweaks and accommodations. | Hugh Graham | |
Tested by various, vetted by mickey & theo. | |||
2001-01-23 | when the peer is disconnected before accept(2) is issued, | Jun-ichiro itojun Hagino | |
do not return junk data in mbuf (= sockaddr on accept(2)'s 2nd arg). set the length to zero. behavior checked with bsdi and freebsd. partial solution to NetBSD PR 12027 and 10698 (need more investigation). | |||
2001-01-22 | NATIVE_ELF -> NATIVE_EXEC_ELF (just some leftovers) | Artur Grabowski | |
2001-01-17 | do not call extent_print() unless DDB || DIAGNOSTIC | Theo de Raadt | |