projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swap: make each swap partition have one address_space
[deliverable/linux.git]
/
mm
/
memcontrol.c
diff --git
a/mm/memcontrol.c
b/mm/memcontrol.c
index c878b1c69510b1f71dc8fd94dab0f6b17efeead3..f85861531f2229e821c6ec8268415cd4bc3250b8 100644
(file)
--- a/
mm/memcontrol.c
+++ b/
mm/memcontrol.c
@@
-6307,7
+6307,7
@@
static struct page *mc_handle_swap_pte(struct vm_area_struct *vma,
* Because lookup_swap_cache() updates some statistics counter,
* we call find_get_page() with swapper_space directly.
*/
* Because lookup_swap_cache() updates some statistics counter,
* we call find_get_page() with swapper_space directly.
*/
- page = find_get_page(
&swapper_space
, ent.val);
+ page = find_get_page(
swap_address_space(ent)
, ent.val);
if (do_swap_account)
entry->val = ent.val;
if (do_swap_account)
entry->val = ent.val;
@@
-6348,7
+6348,7
@@
static struct page *mc_handle_file_pte(struct vm_area_struct *vma,
swp_entry_t swap = radix_to_swp_entry(page);
if (do_swap_account)
*entry = swap;
swp_entry_t swap = radix_to_swp_entry(page);
if (do_swap_account)
*entry = swap;
- page = find_get_page(
&swapper_space
, swap.val);
+ page = find_get_page(
swap_address_space(swap)
, swap.val);
}
#endif
return page;
}
#endif
return page;
This page took
0.02694 seconds
and
5
git commands to generate.