DragonFly commits List (threaded) for 2008-01
DragonFly BSD
DragonFly commits List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern kern_objcache.c


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sun, 27 Jan 2008 23:56:46 +0100

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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]