Re: [patch 2/2]slub: explicitly document position of inserting slab to partial list

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

 



On Tue, 2011-08-30 at 21:48 +0800, Christoph Lameter wrote:
> On Tue, 30 Aug 2011, Shaohua Li wrote:
> 
> > Adding slab to partial list head/tail is sensitive to performance. Using 0/1
> > can easily cause typo. So explicitly uses DEACTIVATE_TO_TAIL/DEACTIVATE_TO_HEAD
> > to document it to avoid we get it wrong.
> 
> I dont think we want this patch anymore.
I do think using 0/1 isn't good. A more meaningful name is better to
avoid typo.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  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@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]