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

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

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux