Re: [PATCH v2 05/10] mm: kill vma flag VM_CAN_NONLINEAR

From: Nick Piggin
Date: Fri Apr 20 2012 - 06:58:06 EST


On Sat, Apr 07, 2012 at 11:01:15PM +0400, Konstantin Khlebnikov wrote:
> This patch moves actual ptes filling for non-linear file mappings
> into special vma operation: ->remap_pages().
>
> Now fs must implement this method to get non-linear mappings support.
> If fs uses filemap_fault() then it can use generic_file_remap_pages() for this.
>

This should enable drivers that prepopulate mappings at mmap() time to
support nonlinear mappings! (I don't know if anyone uses these things
anymore, or ever had except for Oracle, but that's quite besides the
point).

Please update documentation?

Thanks,
Nick

--
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/