Re: [PATCH] mm/buddy: get the allownodes for dump at once

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

 



On Thu, 21 Jun 2012, Gavin Shan wrote:

> I'm not sure it's the possible to resolve the concerns with "static" here
> since "allownodes" will be cleared for each call to show_free_areas().
> 
> 	static nodemask_t allownodes;
> 

There's nothing protecting concurrent access to it.  This function 
certainly isn't in a performance sensitive path so I would be inclined to 
just leave it as is.

--
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/ .
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]