Thread (2 messages) flat view 2 messages, 2 authors, 2009-10-01

Re: [PATCH 01/31] mm: serialize access to min_free_kbytes

From: David Rientjes <rientjes@google.com>
Date: 2009-10-01 20:35:54
Also in: linux-mm, lkml

On Thu, 1 Oct 2009, Suresh Jayaraman wrote:
From: Peter Zijlstra <redacted> 

There is a small race between the procfs caller and the memory hotplug caller
of setup_per_zone_wmarks(). Not a big deal, but the next patch will add yet
another caller. Time to close the gap.
By "next patch," you mean "mm: emegency pool" (patch 08/31)?

If so, can't you eliminate var_free_mutex entirely from that patch and 
take min_free_lock in adjust_memalloc_reserve() instead?

 [ __adjust_memalloc_reserve() would call __setup_per_zone_wmarks()
   under lock instead, now. ]

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help