Re: [PATCH 01/15 v2] mm: add invalidatepage_range address space operation

From
Christoph Hellwig <hch@infradead.org>
Date
2012-09-05 15:56:48
Also in
linux-ext4, linux-fsdevel
Reply to
Lukáš Czerner, 2012-09-05
On Wed, Sep 05, 2012 at 10:36:00AM -0400, Luk?? Czerner wrote:
However if we would want to keep ->invalidatepage_range() and
->invalidatepage() completely separate then we would have to have
separate truncate_inode_pages_range() and truncate_pagecache_range()
as well for the separation to actually matter. And IMO this would be
much worse...
What's the problem with simply changing the ->invalidatepage prototype
to always pass the range and updating all instances for it?

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Thread (26 messages) 26 messages, 5 authors, last reply 2012-09-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help