cvs commit: src/sys/kern kern_objcache.c

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sun Jan 27 14:57:38 PST 2008


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!

cheers
  simon
--
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   / \





More information about the Commits mailing list