# 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 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2012/09/66853
- Thread: https://ratatoskr.run/linux-fsdevel/2012/08/66815/t.md

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