diff options
-rw-r--r-- | Documentation/vm/unevictable-lru.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/vm/unevictable-lru.txt b/Documentation/vm/unevictable-lru.txt index 86cb4624fc5a..3be0bfc4738d 100644 --- a/Documentation/vm/unevictable-lru.txt +++ b/Documentation/vm/unevictable-lru.txt | |||
@@ -22,6 +22,7 @@ CONTENTS | |||
22 | - Filtering special vmas. | 22 | - Filtering special vmas. |
23 | - munlock()/munlockall() system call handling. | 23 | - munlock()/munlockall() system call handling. |
24 | - Migrating mlocked pages. | 24 | - Migrating mlocked pages. |
25 | - Compacting mlocked pages. | ||
25 | - mmap(MAP_LOCKED) system call handling. | 26 | - mmap(MAP_LOCKED) system call handling. |
26 | - munmap()/exit()/exec() system call handling. | 27 | - munmap()/exit()/exec() system call handling. |
27 | - try_to_unmap(). | 28 | - try_to_unmap(). |
@@ -450,6 +451,17 @@ list because of a race between munlock and migration, page migration uses the | |||
450 | putback_lru_page() function to add migrated pages back to the LRU. | 451 | putback_lru_page() function to add migrated pages back to the LRU. |
451 | 452 | ||
452 | 453 | ||
454 | COMPACTING MLOCKED PAGES | ||
455 | ------------------------ | ||
456 | |||
457 | The unevictable LRU can be scanned for compactable regions and the default | ||
458 | behavior is to do so. /proc/sys/vm/compact_unevictable_allowed controls | ||
459 | this behavior (see Documentation/sysctl/vm.txt). Once scanning of the | ||
460 | unevictable LRU is enabled, the work of compaction is mostly handled by | ||
461 | the page migration code and the same work flow as described in MIGRATING | ||
462 | MLOCKED PAGES will apply. | ||
463 | |||
464 | |||
453 | mmap(MAP_LOCKED) SYSTEM CALL HANDLING | 465 | mmap(MAP_LOCKED) SYSTEM CALL HANDLING |
454 | ------------------------------------- | 466 | ------------------------------------- |
455 | 467 | ||