Merge "fs: fuse: Add replacment for CMA pages into the LRU cache"
This commit is contained in:
commit
e67133fb18
1 changed files with 2 additions and 0 deletions
|
@ -928,6 +928,8 @@ static int fuse_readpages_fill(void *_data, struct page *page)
|
|||
lock_page(newpage);
|
||||
put_page(newpage);
|
||||
|
||||
lru_cache_add_file(newpage);
|
||||
|
||||
/* finally release the old page and swap pointers */
|
||||
unlock_page(oldpage);
|
||||
page_cache_release(oldpage);
|
||||
|
|
Loading…
Add table
Reference in a new issue