Re: [patch 2/2]slub: add a type for slab partial list position
From: Christoph Lameter <hidden>
Date: 2011-08-23 15:25:20
Also in:
lkml
From: Christoph Lameter <hidden>
Date: 2011-08-23 15:25:20
Also in:
lkml
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. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>