Hugh Dickins
b9980cdcf2
mm: fix UP THP spin_is_locked BUGs
...
Fix CONFIG_TRANSPARENT_HUGEPAGE=y CONFIG_SMP=n CONFIG_DEBUG_VM=y
CONFIG_DEBUG_SPINLOCK=n kernel: spin_is_locked() is then always false,
and so triggers some BUGs in Transparent HugePage codepaths.
asm-generic/bug.h mentions this problem, and provides a WARN_ON_SMP(x);
but being too lazy to add VM_BUG_ON_SMP, BUG_ON_SMP, WARN_ON_SMP_ONCE,
VM_WARN_ON_SMP_ONCE, just test NR_CPUS != 1 in the existing VM_BUG_ONs.
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-02-08 19:03:51 -08:00
..
2011-11-21 12:32:23 -08:00
2012-01-10 16:30:45 -08:00
2011-11-06 19:44:47 -08:00
2011-05-26 10:01:36 -06:00
2012-02-08 19:03:51 -08:00
2011-12-06 09:24:07 +01:00
2011-10-31 09:20:12 -04:00
2012-01-10 16:30:43 -08:00
2012-01-03 22:54:56 -05:00
2012-02-03 16:16:41 -08:00
2012-02-03 16:16:41 -08:00
2011-10-31 09:20:11 -04:00
2011-11-06 19:44:47 -08:00
2012-02-08 19:03:51 -08:00
2012-01-23 08:38:48 -08:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-11-02 16:06:57 -07:00
2011-11-28 09:46:22 -08:00
2012-01-10 16:30:42 -08:00
2010-03-30 22:02:32 +09:00
2011-01-27 18:31:51 +00:00
2012-01-20 16:57:05 +00:00
2012-01-12 20:13:07 -08:00
2011-10-31 09:20:12 -04:00
2011-07-20 20:47:46 -04:00
2011-10-31 17:30:44 -07:00
2012-01-16 08:38:06 +01:00
2012-02-03 16:16:40 -08:00
2012-01-12 20:13:09 -08:00
2012-01-12 20:13:09 -08:00
2012-01-23 08:38:49 -08:00
2012-01-12 20:13:09 -08:00
2012-01-10 16:30:45 -08:00
2012-02-03 16:16:40 -08:00
2011-08-03 14:25:24 -10:00
2011-11-06 19:44:47 -08:00
2011-10-31 09:20:12 -04:00
2012-01-10 16:30:44 -08:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:11 -04:00
2011-01-13 17:32:44 -08:00
2012-01-10 16:30:44 -08:00
2010-05-21 18:31:21 -04:00
2011-11-28 09:46:22 -08:00
2011-11-16 12:13:08 -05:00
2012-01-12 20:13:06 -08:00
2012-01-23 08:38:47 -08:00
2012-01-12 20:13:08 -08:00
2011-03-10 08:52:27 +01:00
2010-10-26 16:52:11 -07:00
2012-01-10 16:59:59 -08:00
2011-07-25 20:57:09 -07:00
2010-10-02 10:28:42 +03:00
2011-11-22 08:09:46 -08:00
2012-01-14 18:11:11 -08:00
2011-01-26 10:49:58 +10:00
2011-05-20 12:50:29 -07:00
2012-02-02 12:55:17 -08:00
2011-10-31 09:20:11 -04:00
2011-10-31 09:20:12 -04:00
2012-01-12 20:13:06 -08:00
2012-01-23 08:38:48 -08:00
2012-01-11 18:52:23 -08:00
2011-10-31 09:20:12 -04:00
2012-01-12 20:13:03 -08:00
2011-10-31 09:20:11 -04:00
2011-10-31 09:20:12 -04:00
2012-01-12 20:13:07 -08:00
2012-02-08 19:03:51 -08:00
2012-01-12 20:13:06 -08:00
2011-10-31 17:30:50 -07:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2012-01-12 20:13:10 -08:00
2012-01-23 08:38:48 -08:00
2012-01-12 20:13:03 -08:00