diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2007-12-09 00:24:05 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2007-12-09 00:24:05 +0000 |
commit | a97fecd5c075b793e76741901a7bb03dc771b15e (patch) | |
tree | 85d2756ce7c2e801807057de89fe2580195a4358 /sys/kern/init_sysent.c | |
parent | d780ea7b2cfdc9a094756f21b1e69fb0974bcf4a (diff) |
big patch to simplify pool code.
remove pool_cache code. it was barely used, and quite complex. it's
silly to have both a "fast" and "faster" allocation interface. provide
a ctor/dtor interface, and convert the few cache users to use it. no
caching at this time.
use mutexes to protect pools. they should be initialized with pool_setipl
if the pool may be used in an interrupt context, without existing spl
protection.
ok art deraadt thib
Diffstat (limited to 'sys/kern/init_sysent.c')
0 files changed, 0 insertions, 0 deletions