Re: [PATCH] mm: Allow GFP_IOFS for page_cache_read page cache allocation

From: Vlastimil Babka
Date: Fri Nov 27 2015 - 11:40:48 EST


On 11/26/2015 04:08 PM, Michal Hocko wrote:
On Thu 12-11-15 10:53:01, Jan Kara wrote:
On Wed 11-11-15 15:13:53, mhocko@xxxxxxxxxx wrote:

Hi,
this has been posted previously as a part of larger GFP_NOFS related
patch set (http://lkml.kernel.org/r/1438768284-30927-1-git-send-email-mhocko%40kernel.org)
but I think it makes sense to discuss it even out of that scope.

I would like to hear FS and other MM people about the proposed interface.
Using mapping_gfp_mask blindly doesn't sound good to me and vm_fault
looks like a proper channel to communicate between MM and FS layers.

Comments? Are there any better ideas?

Makes sense to me and the filesystems I know should be fine with this
(famous last words ;). Feel free to add:

Acked-by: Jan Kara <jack@xxxxxxxx>

Thanks a lot! Are there any objections from other fs/mm people?

Please replace "GFP_IOFS" in the subject, as the "flag" has been removed recently. Otherwise

Acked-by: Vlastimil Babka <vbabka@xxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/