git://git.onelab.eu
/
linux-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4eb027
)
- sync fedora branch
author
Mark Huang
<mlhuang@cs.princeton.edu>
Sun, 21 Aug 2005 00:21:46 +0000
(
00:21
+0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Sun, 21 Aug 2005 00:21:46 +0000
(
00:21
+0000)
mm/swap.c
patch
|
blob
|
history
diff --git
a/mm/swap.c
b/mm/swap.c
index
ff0c7e6
..
7771d28
100644
(file)
--- a/
mm/swap.c
+++ b/
mm/swap.c
@@
-71,7
+71,7
@@
EXPORT_SYMBOL(put_page);
*/
int rotate_reclaimable_page(struct page *page)
{
- struct zone *zone
= page_zone(page)
;
+ struct zone *zone;
unsigned long flags;
if (PageLocked(page))
@@
-83,6
+83,7
@@
int rotate_reclaimable_page(struct page *page)
if (!PageLRU(page))
return 1;
+ zone = page_zone(page);
spin_lock_irqsave(&zone->lru_lock, flags);
if (PageLRU(page) && !PageActive(page)) {
list_del(&page->lru);