Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107021
b: refs/heads/master
c: ab33dc0
h: refs/heads/master
i:
  107019: 18c8ca8
v: v3
  • Loading branch information
Fernando Luis Vazquez Cao authored and Linus Torvalds committed Jul 30, 2008
1 parent 7d32dea commit 1396445
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e6cbea39aaa32480145915751119227f29f6f7b
refs/heads/master: ab33dc09a5c0d2bd6757afa1c2f804c9657daec0
7 changes: 4 additions & 3 deletions trunk/mm/swap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 1396445

Please sign in to comment.