DragonFly commits List (threaded) for 2008-01
Re: cvs commit: src/sys/kern kern_objcache.c
Nicolas Thery wrote:
Turn allobjcaches into double-linked list for fast removal.
Not that it matters, but: Is fast removal important? How often does an
objcache get removed?
You're right it's not important. s/fast/easy to code/ :-)
There are about 15 objcaches in the system currently (and another 25
or so if we change zones into objcaches), so I think adding a prev
pointer to struct objcache is ok.
No doubt. I like doubly linked lists more :) I was just curious what you
might be doing with object caches :)
keep on hacking!
Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \