Thread (51 messages) 51 messages, 8 authors, 2012-04-06

Re: [PATCH 3/7] mm: kill vma flag VM_CAN_NONLINEAR

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2012-03-31 17:01:33
Also in: lkml

On Sat, Mar 31, 2012 at 2:29 AM, Konstantin Khlebnikov
[off-list ref] 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.
Me likee.

The other patches in the series look ok too, but this one in
particular is definitely the right thing, and an example of how people
have just used vm_flags bits for all the wrong reasons.

                  Linus

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