projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-4.7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[deliverable/linux.git]
/
mm
/
swap_state.c
diff --git
a/mm/swap_state.c
b/mm/swap_state.c
index c99463ac02fb56d270fdc4ea7ab749e1f58fe666..c8310a37be3abbcf267472f30bd0e3677c1336d4 100644
(file)
--- a/
mm/swap_state.c
+++ b/
mm/swap_state.c
@@
-95,7
+95,7
@@
int __add_to_swap_cache(struct page *page, swp_entry_t entry)
entry.val, page);
if (likely(!error)) {
address_space->nrpages++;
entry.val, page);
if (likely(!error)) {
address_space->nrpages++;
- __inc_
zon
e_page_state(page, NR_FILE_PAGES);
+ __inc_
nod
e_page_state(page, NR_FILE_PAGES);
INC_CACHE_INFO(add_total);
}
spin_unlock_irq(&address_space->tree_lock);
INC_CACHE_INFO(add_total);
}
spin_unlock_irq(&address_space->tree_lock);
@@
-147,7
+147,7
@@
void __delete_from_swap_cache(struct page *page)
set_page_private(page, 0);
ClearPageSwapCache(page);
address_space->nrpages--;
set_page_private(page, 0);
ClearPageSwapCache(page);
address_space->nrpages--;
- __dec_
zon
e_page_state(page, NR_FILE_PAGES);
+ __dec_
nod
e_page_state(page, NR_FILE_PAGES);
INC_CACHE_INFO(del_total);
}
INC_CACHE_INFO(del_total);
}
This page took
0.043921 seconds
and
5
git commands to generate.