Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4745006 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "fs: fuse: Add replacment for CMA pages into the LRU cache"

parents c1f751eb cd0fa86d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -822,6 +822,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);