mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
swap: update function comment of release_pages
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
7e6cbea39a
commit
ab33dc09a5
1 changed files with 4 additions and 3 deletions
|
|
@ -278,9 +278,10 @@ int lru_add_drain_all(void)
|
|||
* Avoid taking zone->lru_lock if possible, but if it is taken, retain it
|
||||
* for the remainder of the operation.
|
||||
*
|
||||
* The locking in this function is against shrink_cache(): we recheck the
|
||||
* page count inside the lock to see whether shrink_cache grabbed the page
|
||||
* via the LRU. If it did, give up: shrink_cache will free it.
|
||||
* The locking in this function is against shrink_inactive_list(): we recheck
|
||||
* the page count inside the lock to see whether shrink_inactive_list()
|
||||
* grabbed the page via the LRU. If it did, give up: shrink_inactive_list()
|
||||
* will free it.
|
||||
*/
|
||||
void release_pages(struct page **pages, int nr, int cold)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue