Messages in this thread | | | Date | Tue, 23 Aug 2011 10:25:12 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [patch 2/2]slub: add a type for slab partial list position |
| |
On Tue, 23 Aug 2011, Shaohua Li wrote:
> Adding slab to partial list head/tail is sensentive to performance. > So adding a type to document it to avoid we get it wrong.
I think that if you want to make it more descriptive then using the stats values (DEACTIVATE_TO_TAIL/HEAD) would avoid having to introduce an additional enum and it would also avoid the if statement in the stat call.
| |