diff options
| author | Andrea Arcangeli <[email protected]> | 2011-06-16 19:56:19 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-06-16 22:01:24 +0000 |
| commit | 99a15e21d96f6857dafab1e5167e5e8183215c9c (patch) | |
| tree | eb6224c0bf11fc243de298c3fa665e418f849d16 /net/lapb/lapb_iface.c | |
| parent | Merge branch 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmar... (diff) | |
| download | kernel-99a15e21d96f6857dafab1e5167e5e8183215c9c.tar.gz kernel-99a15e21d96f6857dafab1e5167e5e8183215c9c.zip | |
migrate: don't account swapcache as shmem
swapcache will reach the below code path in migrate_page_move_mapping,
and swapcache is accounted as NR_FILE_PAGES but it's not accounted as
NR_SHMEM.
Hugh pointed out we must use PageSwapCache instead of comparing
mapping to &swapper_space, to avoid build failure with CONFIG_SWAP=n.
Signed-off-by: Andrea Arcangeli <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
