swap: fix a nasty little bug
authorAlan Cox <alan@linux.intel.com>
Fri, 21 Sep 2018 22:41:09 +0000 (23:41 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 21 Sep 2018 22:41:09 +0000 (23:41 +0100)
commitcf382e5c12b32c18505aae9cc70391ddfa535227
treeb5d04b7211303fda7e16132a8a75ce3b66754680
parent7d9dcc5b6442f7aa84077b2919c145752ff13b0d
swap: fix a nasty little bug

We checked against the wrong process for one case, that in turn meant a specific
pattern of activity could mess up when it tried to swap out a zombie process
Kernel/swap.c