patch-2.2.19 linux/mm/swap_state.c
Next file: linux/mm/vmscan.c
Previous file: linux/mm/page_alloc.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Sun Mar 25 11:37:41 2001
- Orig file:
v2.2.18/mm/swap_state.c
- Orig date:
Sun Mar 25 11:12:36 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/mm/swap_state.c linux/mm/swap_state.c
@@ -63,6 +63,7 @@
return 0;
}
atomic_inc(&page->count);
+ page->flags = page->flags & ~((1 << PG_uptodate) | (1 << PG_error) | (1 << PG_referenced));
page->inode = &swapper_inode;
page->offset = entry;
add_page_to_hash_queue(page, &swapper_inode, entry);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)