mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
swapfile/vmscan: update comments related to vmscan functions
Signed-off-by: Fernando Luis Vazquez Cao <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Nick Piggin <[email protected]> Cc: Rik van Riel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ab33dc09a5
commit
7d03431cf9
2 changed files with 3 additions and 3 deletions
|
|
@ -656,8 +656,8 @@ static int unuse_mm(struct mm_struct *mm,
|
|||
|
||||
if (!down_read_trylock(&mm->mmap_sem)) {
|
||||
/*
|
||||
* Activate page so shrink_cache is unlikely to unmap its
|
||||
* ptes while lock is dropped, so swapoff can make progress.
|
||||
* Activate page so shrink_inactive_list is unlikely to unmap
|
||||
* its ptes while lock is dropped, so swapoff can make progress.
|
||||
*/
|
||||
activate_page(page);
|
||||
unlock_page(page);
|
||||
|
|
|
|||
Loading…
Reference in a new issue