diff options
Diffstat (limited to 'include/linux/secretmem.h')
-rw-r--r-- | include/linux/secretmem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/secretmem.h b/include/linux/secretmem.h index 988528b5d..48ffe3251 100644 --- a/include/linux/secretmem.h +++ b/include/linux/secretmem.h @@ -14,10 +14,10 @@ static inline bool page_is_secretmem(struct page *page) * Using page_mapping() is quite slow because of the actual call * instruction and repeated compound_head(page) inside the * page_mapping() function. - * We know that secretmem pages are not compound and LRU so we can + * We know that secretmem pages are not compound, so we can * save a couple of cycles here. */ - if (PageCompound(page) || !PageLRU(page)) + if (PageCompound(page)) return false; mapping = (struct address_space *) |