diff options
-rw-r--r-- | mm/swap.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -396,6 +396,9 @@ static void lru_deactivate_fn(struct page *page, void *arg) if (!PageLRU(page)) return; + if (PageUnevictable(page)) + return; + /* Some processes are using the page */ if (page_mapped(page)) return; |