Greetings, while implementing software dirty bits for s390 we noticed that the swapoff command at shutdown caused the system to hang. After some debugging I found the maybe_same_pte() function to be the cause of this. The bug shows up for any configuration with CONFIG_HAVE_ARCH_SOFT_DIRTY=y and CONFIG_MEM_SOFT_DIRTY=n. Currently this affects x86_64 only. Martin Schwidefsky (1): mm/swapfile: fix swapoff vs. software dirty bits mm/swapfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>