summaryrefslogtreecommitdiff
path: root/sys/kern/kern_subr.c
AgeCommit message (Expand)Author
2017-02-14Convert most of the manual checks for CPU hogging to sched_pause().Martin Pieuchot
2016-09-24introduce hashfree() function to free hash tables, with sizes.Ted Unangst
2016-03-15Remove now unused legacy uiomovei() function.Stefan Kempf
2016-02-11Make sure uiomove does not copy more than uio_resid bytes, as the manualStefan Kempf
2015-12-11Replace mountroothook_establish(9) by config_mountroot(9) a narrower APIMartin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-10First step towards making uiomove() take a size_t size argument:Miod Vallat
2014-12-10retire shutdown hooks; ok deraadt, krwMike Belopuhov
2014-11-01add a few sizes to freeTed Unangst
2014-07-13trim some castsTed Unangst
2014-07-13use mallocarray where arguments are multipled. ok deraadtTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2013-10-19When hooks are called, allow them to disestablish themselves by usingReyk Floeter
2013-09-14Correct the handling of I/O of >=2^32 bytes and the ktracing there ofPhilip Guenther
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2010-09-07remove the powerhook code. All architectures now use the ca_activate treeTheo de Raadt
2010-09-06All PWR_{SUSPEND,RESUME} can now be replaced by DVACT_{SUSPEND,RESUME}Theo de Raadt
2008-06-12Remove silly panic when disestablish cookie doesnt existMarco Peereboom
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesArtur Grabowski
2005-11-28ansi/deregister.Jonathan Gray
2004-11-28mountroothooks are called after the root filesystem is mounted.Theo de Raadt
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-09Merge in a piece of the SMP branch into HEAD.Artur Grabowski
2003-10-31allocate at least as much elements as requested in hashinitMarkus Friedl
2003-07-21remove caddr_t casts. it's just silly to cast something when the functionTed Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-01-09Remove fetch(9) and store(9) functions from the kernel, and replace the fewMiod Vallat
2002-07-12- Add a flags argument to dohooks.Artur Grabowski
2002-03-14First round of __P removal in sysTodd C. Miller
2001-07-27Startup hooks. Can be used for providing root/swap devices from deviceNiklas Hallqvist
2001-06-27remove old vmArtur Grabowski
2001-06-26Appease gcc by not using void pointers in arithmetic operations; art@ okAaron Campbell
2001-06-23Since malloc in hashinit can get M_NOWAIT flags, we shouldArtur Grabowski
2000-09-07On resume run the powerhook in installation order.Artur Grabowski
2000-09-07Put powerhooks on a CIRCLEQ instead of LIST.Artur Grabowski
2000-09-07Run powerhooks at splhigh.Artur Grabowski
2000-09-05Wrap power hooks in splimp(), fixes WaveLAN suspend problem; thanks art@Aaron Campbell
2000-04-19Remove the roundrobin_attempts hack and replace it with per-process schedulingArtur Grabowski
2000-03-03If we attempted reschedule two times without suceeding, uiomove will yield,Artur Grabowski
1999-11-07add APM powerhooks.Niels Provos
1999-04-28zap the newhashinit hack.Artur Grabowski
1999-02-26uvm uses kcopy when uiomoving from sysspaceArtur Grabowski
1999-02-26Add newhashinit(), which is identical to hashinit() except it takes a flagsTodd C. Miller
1998-07-28Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned (size_t...Todd C. Miller
1998-05-11compile if iov_base is void *Theo de Raadt
1997-02-24OpenBSD tagsNiklas Hallqvist
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-17Removed vax ifdefed function from kern_subr.c (from NetBSD).Michael Shalayeff
1995-10-18initial import of NetBSD treeTheo de Raadt