Chuck Ebbert
c22f008ba2
[PATCH] spinlock_debug: don't recompute (jiffies_per_loop * HZ) in spinloop
...
In spinlock_debug.c, the spinloops call __delay() on every iteration.
Because that is an external function, (jiffies_per_loop * HZ), the loop's
iteration limit, gets recomputed every time. Caching it explicitly
prevents that.
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-29 09:18:06 -07:00
..
2006-06-25 10:01:23 -07:00
2006-07-31 13:28:37 -07:00
2006-09-22 17:48:56 -07:00
2006-06-30 19:25:36 +02:00
2006-06-25 10:01:20 -07:00
2006-06-25 10:01:20 -07:00
2006-06-25 10:01:20 -07:00
2006-07-03 15:27:01 -07:00
2006-06-30 19:25:36 +02:00
2006-09-26 10:52:38 +02:00
2006-07-14 21:53:54 -07:00
2006-09-12 03:04:40 -04:00
2006-09-29 09:18:05 -07:00
2006-07-03 15:27:04 -07:00
2006-09-25 21:08:40 -07:00
2006-08-03 13:20:06 -07:00
2006-09-25 21:08:39 -07:00
2006-09-29 09:18:05 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:04 -07:00
2006-09-29 09:18:05 -07:00
2006-06-27 17:32:46 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:04 -07:00
2006-06-30 19:25:36 +02:00
2006-09-29 09:18:06 -07:00
2006-06-30 19:25:36 +02:00
2006-08-22 14:33:58 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-06-28 17:09:34 -07:00