Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62985
b: refs/heads/master
c: 3dd9fe8
h: refs/heads/master
i:
  62983: 497d0a0
v: v3
  • Loading branch information
KAMEZAWA Hiroyuki authored and Linus Torvalds committed Jul 26, 2007
1 parent 00b74cb commit 4009cc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: dc386d4d1e98bb39fb967ee156cd456c802fc692
refs/heads/master: 3dd9fe8c397df68086e6a1b2160573abbe944813
3 changes: 1 addition & 2 deletions trunk/mm/migrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ int isolate_lru_page(struct page *page, struct list_head *pagelist)
struct zone *zone = page_zone(page);

spin_lock_irq(&zone->lru_lock);
if (PageLRU(page)) {
if (PageLRU(page) && get_page_unless_zero(page)) {
ret = 0;
get_page(page);
ClearPageLRU(page);
if (PageActive(page))
del_page_from_active_list(zone, page);
Expand Down

0 comments on commit 4009cc6

Please sign in to comment.