summaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorJamie Liu2014-01-24 00:53:40 +0100
committerLinus Torvalds2014-01-24 01:36:53 +0100
commita5998061daab27802c418debe662be98a6e42874 (patch)
tree8ca230b5f9917c6cac82011d1b6feb12014341bc /mm/rmap.c
parentmemcg: remove unused code from kmem_cache_destroy_work_func (diff)
downloadkernel-qcow2-linux-a5998061daab27802c418debe662be98a6e42874.tar.gz
kernel-qcow2-linux-a5998061daab27802c418debe662be98a6e42874.tar.xz
kernel-qcow2-linux-a5998061daab27802c418debe662be98a6e42874.zip
mm/swapfile.c: do not skip lowest_bit in scan_swap_map() scan loop
In the second half of scan_swap_map()'s scan loop, offset is set to si->lowest_bit and then incremented before entering the loop for the first time, causing si->swap_map[si->lowest_bit] to be skipped. Signed-off-by: Jamie Liu <jamieliu@google.com> Cc: Shaohua Li <shli@fusionio.com> Acked-by: Hugh Dickins <hughd@google.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions