Re: [PATCH 4/4] memory_hotplug: use pgdat_resize_lock() when updating node_present_pages

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

 



On 05/01/2013 03:48 PM, David Rientjes wrote:
On Wed, 1 May 2013, Cody P Schafer wrote:

Guaranteed to be stable means that if I'm a reader and pgdat_resize_lock(),
node_present_pages had better not change at all until I pgdat_resize_unlock().

If nothing needs this guarantee, we should change the rules of
pgdat_resize_lock(). I played it safe and went with following the existing
rules.


__offline_pages() breaks your guarantee.


Thanks for pointing that out. Seems I fixed online_pages() but missed __offline_pages().

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