diff options
author | Masanari Iida <standby24x7@gmail.com> | 2012-02-08 09:22:21 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-02-09 17:09:53 -0500 |
commit | 3cd0b6252ebfaf65226a30e00a2d7535f66adb0e (patch) | |
tree | 583ff8f168d35e749ad8eb2d59b0e43c76892693 /Documentation/vm | |
parent | 42ea19790e82498e14a24e97b7cf2a83d89203b6 (diff) |
mm: Fix typo in unevictable-lru.txt
Correct spelling "semphore" to "semaphore" in
Documentation/vm/unevictable-lru.txt
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/vm')
-rw-r--r-- | Documentation/vm/unevictable-lru.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/vm/unevictable-lru.txt b/Documentation/vm/unevictable-lru.txt index 97bae3c576c2..609d1a34876a 100644 --- a/Documentation/vm/unevictable-lru.txt +++ b/Documentation/vm/unevictable-lru.txt | |||
@@ -538,7 +538,7 @@ different reverse map mechanisms. | |||
538 | process because mlocked pages are migratable. However, for reclaim, if | 538 | process because mlocked pages are migratable. However, for reclaim, if |
539 | the page is mapped into a VM_LOCKED VMA, the scan stops. | 539 | the page is mapped into a VM_LOCKED VMA, the scan stops. |
540 | 540 | ||
541 | try_to_unmap_anon() attempts to acquire in read mode the mmap semphore of | 541 | try_to_unmap_anon() attempts to acquire in read mode the mmap semaphore of |
542 | the mm_struct to which the VMA belongs. If this is successful, it will | 542 | the mm_struct to which the VMA belongs. If this is successful, it will |
543 | mlock the page via mlock_vma_page() - we wouldn't have gotten to | 543 | mlock the page via mlock_vma_page() - we wouldn't have gotten to |
544 | try_to_unmap_anon() if the page were already mlocked - and will return | 544 | try_to_unmap_anon() if the page were already mlocked - and will return |
@@ -623,7 +623,7 @@ mapped file pages with an additional argument specifing unlock versus unmap | |||
623 | processing. Again, these functions walk the respective reverse maps looking | 623 | processing. Again, these functions walk the respective reverse maps looking |
624 | for VM_LOCKED VMAs. When such a VMA is found for anonymous pages and file | 624 | for VM_LOCKED VMAs. When such a VMA is found for anonymous pages and file |
625 | pages mapped in linear VMAs, as in the try_to_unmap() case, the functions | 625 | pages mapped in linear VMAs, as in the try_to_unmap() case, the functions |
626 | attempt to acquire the associated mmap semphore, mlock the page via | 626 | attempt to acquire the associated mmap semaphore, mlock the page via |
627 | mlock_vma_page() and return SWAP_MLOCK. This effectively undoes the | 627 | mlock_vma_page() and return SWAP_MLOCK. This effectively undoes the |
628 | pre-clearing of the page's PG_mlocked done by munlock_vma_page. | 628 | pre-clearing of the page's PG_mlocked done by munlock_vma_page. |
629 | 629 | ||
@@ -641,7 +641,7 @@ with it - the usual fallback position. | |||
641 | Note that try_to_munlock()'s reverse map walk must visit every VMA in a page's | 641 | Note that try_to_munlock()'s reverse map walk must visit every VMA in a page's |
642 | reverse map to determine that a page is NOT mapped into any VM_LOCKED VMA. | 642 | reverse map to determine that a page is NOT mapped into any VM_LOCKED VMA. |
643 | However, the scan can terminate when it encounters a VM_LOCKED VMA and can | 643 | However, the scan can terminate when it encounters a VM_LOCKED VMA and can |
644 | successfully acquire the VMA's mmap semphore for read and mlock the page. | 644 | successfully acquire the VMA's mmap semaphore for read and mlock the page. |
645 | Although try_to_munlock() might be called a great many times when munlocking a | 645 | Although try_to_munlock() might be called a great many times when munlocking a |
646 | large region or tearing down a large address space that has been mlocked via | 646 | large region or tearing down a large address space that has been mlocked via |
647 | mlockall(), overall this is a fairly rare event. | 647 | mlockall(), overall this is a fairly rare event. |