Thomas Gleixner
8b0b1db013
remove put_cpu_no_resched()
...
put_cpu_no_resched() is an optimization of put_cpu() which unfortunately
can cause high latencies.
The nfs iostats code uses put_cpu_no_resched() in a code sequence where a
reschedule request caused by an interrupt between the get_cpu() and the
put_cpu_no_resched() can delay the reschedule for at least HZ.
The other users of put_cpu_no_resched() optimize correctly in interrupt
code, but there is no real harm in using the put_cpu() function which is
an alias for preempt_enable(). The extra check of the preemmpt count is
not as critical as the potential source of missing a reschedule.
Debugged in the preempt-rt tree and verified in mainline.
Impact: remove a high latency source
[akpm@linux-foundation.org: build fix]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-16 19:47:48 -07:00
..
2009-05-09 10:49:40 -04:00
2009-06-11 21:36:14 -04:00
2009-06-11 21:36:14 -04:00
2009-06-11 21:36:07 -04:00
2009-06-11 21:36:01 -04:00
2009-06-11 21:36:01 -04:00
2009-06-11 21:36:07 -04:00
2009-06-11 21:36:14 -04:00
2009-06-11 21:36:06 -04:00
2009-06-11 21:36:06 -04:00
2009-06-11 21:36:07 -04:00
2009-05-11 14:13:10 +02:00
2009-04-30 10:48:26 -07:00
2009-04-02 19:05:08 -07:00
2009-03-23 16:25:46 +01:00
2009-06-11 08:51:06 -07:00
2009-05-15 11:24:59 -05:00
2009-06-11 21:36:07 -04:00
2009-04-02 19:05:09 -07:00
2009-06-12 10:02:03 -05:00
2008-12-25 11:40:09 +11:00
2009-06-12 18:01:44 +02:00
2009-06-11 21:36:11 -04:00
2009-06-11 21:36:11 -04:00
2009-06-11 21:36:15 -04:00
2009-06-11 21:36:07 -04:00
2009-05-27 10:20:13 -07:00
2009-06-12 09:31:20 -07:00
2009-06-12 13:40:47 +01:00
2009-06-11 21:36:15 -04:00
2009-06-11 21:36:16 -04:00
2009-03-27 14:44:00 -04:00
2009-06-11 21:36:11 -04:00
2009-04-02 19:04:53 -07:00
2009-05-22 18:40:59 +10:00
2009-06-11 21:36:07 -04:00
2009-06-09 16:59:03 -07:00
2009-06-09 00:06:20 -04:00
2009-06-11 21:36:16 -04:00
2009-06-11 21:36:11 -04:00
2009-05-06 17:19:36 -04:00
2009-06-11 21:36:12 -04:00
2009-06-11 21:36:07 -04:00
2009-06-16 19:47:48 -07:00
2008-12-23 15:21:32 -05:00
2009-06-11 21:36:01 -04:00
2009-06-15 09:13:49 -07:00
2009-06-11 14:57:55 -04:00
2009-06-16 19:47:48 -07:00
2009-06-11 21:36:11 -04:00
2009-06-11 21:36:13 -04:00
2009-01-05 11:54:28 -05:00
2009-06-12 09:29:42 -07:00
2009-06-16 19:47:43 -07:00
2009-06-11 21:36:12 -04:00
2009-06-11 21:36:04 -04:00
2009-06-14 17:58:25 -07:00
2009-06-11 21:36:11 -04:00
2009-05-09 10:49:41 -04:00
2009-06-11 21:36:07 -04:00
2009-06-11 21:36:07 -04:00
2009-05-28 14:24:07 -07:00
2009-06-11 21:36:16 -04:00
2009-06-11 21:36:11 -04:00
2009-06-11 21:36:13 -04:00
2009-06-11 21:36:16 -04:00
2009-06-12 21:28:59 -05:00
2009-03-19 15:57:18 -07:00
2009-03-27 14:44:03 -04:00
2009-03-26 02:18:35 +01:00
2008-12-31 18:07:43 -05:00
2009-01-03 11:45:54 -08:00
2009-05-02 15:36:10 -07:00
2009-03-31 23:00:27 -04:00
2009-05-29 08:40:02 -07:00
2009-01-06 15:59:19 -08:00
2009-03-31 23:00:28 -04:00
2009-03-24 12:35:17 +01:00
2009-06-12 18:01:47 +02:00
2009-06-11 21:36:04 -04:00
2009-06-11 11:10:35 -07:00
2009-06-11 21:36:09 -04:00
2009-06-12 18:01:46 +02:00
2009-06-12 18:01:44 +02:00
2009-06-11 21:36:06 -04:00
2009-01-14 14:15:18 +01:00
2009-05-22 23:22:54 +02:00
2009-06-16 19:47:43 -07:00
2009-06-12 22:27:09 +09:30
2009-05-12 14:11:35 -07:00
2009-06-11 14:01:07 -07:00
2009-05-11 12:18:06 -07:00
2009-06-11 21:36:02 -04:00
2009-04-20 23:02:52 -04:00
2009-03-31 23:00:27 -04:00
2009-06-16 19:47:45 -07:00
2009-03-31 23:00:26 -04:00
2009-06-12 18:01:45 +02:00
2009-06-11 21:36:07 -04:00
2009-05-06 16:36:09 -07:00
2009-01-14 14:15:30 +01:00
2009-06-09 11:24:11 +02:00
2009-01-09 16:54:41 -08:00
2009-06-11 21:36:11 -04:00
2009-01-14 14:15:25 +01:00
2009-04-07 08:31:16 -07:00
2009-05-13 15:13:42 -04:00
2009-06-11 21:36:01 -04:00
2009-06-11 21:36:08 -04:00
2009-01-14 14:15:29 +01:00
2009-06-11 21:36:02 -04:00
2009-05-11 14:13:10 +02:00
2008-11-14 10:39:05 +11:00
2009-05-11 14:13:10 +02:00
2009-01-14 14:15:31 +01:00
2009-06-16 19:47:48 -07:00
2009-03-30 22:05:11 +10:30
2009-01-14 14:15:31 +01:00
2009-05-19 11:37:46 +02:00
2009-04-20 23:02:52 -04:00
2009-06-11 21:36:11 -04:00
2009-06-11 21:36:17 -04:00
2009-02-18 15:37:53 -08:00
2009-01-14 14:15:30 +01:00
2009-06-11 21:36:02 -04:00