Soeren Sandmann
5ebd4c2289
highmem: Fix race in debug_kmap_atomic() which could cause warn_count to underflow
...
debug_kmap_atomic() tries to prevent ever printing more than 10
warnings, but it does so by testing whether an unsigned integer
is equal to 0. However, if the warning is caused by a nested
IRQ, then this counter may underflow and the stream of warnings
will never end.
Fix that by using a signed integer instead.
Signed-off-by: Soeren Sandmann Pedersen <sandmann@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: a.p.zijlstra@chello.nl
Cc: <stable@kernel.org> # .31.x
LKML-Reference: <ye8zl7b8ktj.fsf@camel23.daimi.au.dk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-11-10 04:15:32 +01:00
..
2009-06-24 15:13:35 +09:00
2009-09-16 15:18:52 +02:00
2009-08-27 14:29:17 +01:00
2009-06-16 11:19:36 +02:00
2009-04-01 08:59:13 -07:00
2009-06-30 18:56:00 -07:00
2009-06-16 19:47:28 -07:00
2009-04-03 12:23:01 +02:00
2009-09-27 11:39:25 -07:00
2009-09-27 11:39:25 -07:00
2009-02-10 10:48:42 -08:00
2009-11-10 04:15:32 +01:00
2009-09-27 11:39:25 -07:00
2009-09-16 11:50:17 +02:00
2009-06-16 19:47:28 -07:00
2009-09-22 07:17:41 -07:00
2009-10-08 07:36:38 -07:00
2009-09-21 15:14:57 +02:00
2009-06-15 15:48:33 +02:00
2009-06-24 15:13:48 +09:00
2009-09-11 10:42:09 +01:00
2009-10-08 07:36:38 -07:00
2009-06-12 10:27:37 +02:00
2009-09-24 07:53:22 -07:00
2009-09-24 17:11:24 -07:00
2009-10-01 16:11:13 -07:00
2009-09-23 07:39:41 -07:00
2009-09-16 11:50:15 +02:00
2009-09-24 08:32:11 -07:00
2009-08-07 10:39:55 -07:00
2009-09-22 07:17:35 -07:00
2009-09-24 07:53:22 -07:00
2009-01-14 14:15:24 +01:00
2009-09-22 07:17:40 -07:00
2008-08-20 15:40:30 -07:00
2009-09-27 11:39:25 -07:00
2009-09-22 07:17:42 -07:00
2009-09-22 07:17:31 -07:00
2009-05-18 11:22:24 +01:00
2009-09-21 14:28:04 +02:00
2009-09-24 08:41:47 -04:00
2009-01-14 14:15:23 +01:00
2009-09-27 11:39:25 -07:00
2009-09-22 07:17:39 -07:00
2009-09-24 07:53:22 -07:00
2009-09-22 07:17:26 -07:00
2009-06-16 19:47:44 -07:00
2008-11-06 15:41:19 -08:00
2009-09-26 00:10:40 +02:00
2008-06-12 18:05:41 -07:00
2009-09-29 09:17:58 +09:00
2007-10-20 01:27:18 +02:00
2009-09-24 09:34:52 +09:30
2009-06-16 19:47:30 -07:00
2009-10-01 16:11:12 -07:00
2009-09-08 11:08:46 -07:00
2009-09-27 11:39:25 -07:00
2009-09-22 07:17:38 -07:00
2009-08-06 11:36:25 +03:00
2009-09-22 07:17:33 -07:00
2009-09-22 07:17:26 -07:00
2009-09-22 07:17:26 -07:00
2009-09-22 07:17:35 -07:00
2009-09-22 07:17:38 -07:00
2009-10-01 21:15:46 +02:00
2009-06-23 12:50:05 -07:00
2009-09-24 08:32:11 -07:00
2009-06-17 08:30:15 +03:00
2009-10-08 12:05:50 -07:00
2009-09-25 09:27:30 -07:00
2009-09-22 07:17:29 -07:00