Re: [PATCH 5/7] mm: add a flag to indicate we used a cached page

2018-10-18 Thread Dave Chinner
On Thu, Oct 18, 2018 at 04:23:16PM -0400, Josef Bacik wrote: > This is preparation for dropping the mmap_sem in page_mkwrite. We need > to know if we used our cached page so we can be sure it is the page we > already did the page_mkwrite stuff on so we don't have to redo all of > that work. > > S

[PATCH 5/7] mm: add a flag to indicate we used a cached page

2018-10-18 Thread Josef Bacik
This is preparation for dropping the mmap_sem in page_mkwrite. We need to know if we used our cached page so we can be sure it is the page we already did the page_mkwrite stuff on so we don't have to redo all of that work. Signed-off-by: Josef Bacik --- include/linux/mm.h | 6 +- mm/filemap