Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
Those pages mapped into VM_LOCKED [mlock()ed] VMAs should be unevictable pages:
i.e. mlocked pages via mlock() or mlockall() (see the URL for details: https://www.kernel.org/doc/html/v4.19/vm/unevictable-lru.html).
However, OSC page cache shrinker treats all cached page equally even some of them are unelectable. It may evict the mlocked pages wrongly.
We should disable page cache shrinker to avoid it evicting mlocked pages.
Attachments
Issue Links
Activity
Link | New: This issue is related to DDN-5437 [ DDN-5437 ] |
Summary | Original: enable/disable page cache shrinker for mmap pages on OSC layer | New: enable/disable page cache shrinker for mlocked pages on OSC layer |
Summary | Original: enable/disable page cache shrinker on OSC layer | New: enable/disable page cache shrinker for mmap pages on OSC layer |
Patch https://review.whamcloud.com/56637 "
LU-18226tests: allow small margin for unevicted pages" was landed as v2_16_0-RC2-2-gfda0fb235a to address the intermittent failures in test_600a.