Thread (35 messages) 35 messages, 7 authors, 2012-05-18

Re: [patch 4/5] mm + fs: provide refault distance to page cache instantiations

From: Peter Zijlstra <peterz@infradead.org>
Date: 2012-05-01 09:58:54
Also in: linux-fsdevel, lkml

On Tue, 2012-05-01 at 11:55 +0200, Johannes Weiner wrote:
On Tue, May 01, 2012 at 11:30:40AM +0200, Peter Zijlstra wrote:
quoted
On Tue, 2012-05-01 at 10:41 +0200, Johannes Weiner wrote:
quoted
Every site that does a find_or_create()-style allocation is converted
to pass this refault information to the page_cache_alloc() family of
functions, which in turn passes it down to the page allocator via
current->refault_distance. 
That is rather icky..
Fair enough, I just went with the easier solution to get things off
the ground instead of dealing with adding an extra parameter to layers
of config-dependent gfp API.  I'll revisit this for v2.
OK, thanks!

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
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