Messages in this thread | | | Date | Tue, 7 Feb 2012 10:27:56 -0600 (CST) | From | Christoph Lameter <> | Subject | Re: [PATCH 02/15] mm: sl[au]b: Add knowledge of PFMEMALLOC reserve pages |
| |
On Mon, 6 Feb 2012, Mel Gorman wrote:
> Pages allocated from the reserve are returned with page->pfmemalloc > set and it is up to the caller to determine how the page should be > protected. SLAB restricts access to any page with page->pfmemalloc set
pfmemalloc sounds like a page flag. If you would use one then the preservation of the flag by copying it elsewhere may not be necessary and the patches would be less invasive. Also you would not need to extend and modify many of the structures.
| |