lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1335866334.13683.121.camel@twins>
Date:	Tue, 01 May 2012 11:58:54 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	Johannes Weiner <hannes@...xchg.org>
Cc:	linux-mm@...ck.org, Rik van Riel <riel@...hat.com>,
	Andrea Arcangeli <aarcange@...hat.com>,
	Mel Gorman <mgorman@...e.de>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Minchan Kim <minchan.kim@...il.com>,
	Hugh Dickins <hughd@...gle.com>,
	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [patch 4/5] mm + fs: provide refault distance to page cache
 instantiations

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:
> > On Tue, 2012-05-01 at 10:41 +0200, Johannes Weiner wrote:
> > > 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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ