aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorMinchan Kim <[email protected]>2018-01-18 16:33:50 -0800
committerLinus Torvalds <[email protected]>2018-01-19 10:09:40 -0800
commitf80207727aaca3aa34a9cd80659393534de69cad (patch)
treed9dc20d2ea690f091761bf6f5eed8d474f1f4857 /scripts/gdb/vmlinux-gdb.py
parentdda3e15231b35840fe6f0973f803cc70ddb86281 (diff)
mm/memory.c: release locked page in do_swap_page()
James reported a bug in swap paging-in from his testing. It is that do_swap_page doesn't release locked page so system hang-up happens due to a deadlock on PG_locked. It was introduced by 0bcac06f27d7 ("mm, swap: skip swapcache for swapin of synchronous device") because I missed swap cache hit places to update swapcache variable to work well with other logics against swapcache in do_swap_page. This patch fixes it. Debugged by James Bottomley. Link: http://lkml.kernel.org/r/<[email protected]> Link: http://lkml.kernel.org/r/20180102235606.GA19438@bbox Signed-off-by: Minchan Kim <[email protected]> Reported-by: James Bottomley <[email protected]> Acked-by: Hugh Dickins <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Cc: Huang Ying <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions