Linus Torvalds
c3921ab715
Add new 'cond_resched_bkl()' helper function
...
It acts exactly like a regular 'cond_resched()', but will not get
optimized away when CONFIG_PREEMPT is set.
Normal kernel code is already preemptable in the presense of
CONFIG_PREEMPT, so cond_resched() is optimized away (see commit
02b67cc3ba36bdba351d6c3a00593f4ec550d9d3 "sched: do not do
cond_resched() when CONFIG_PREEMPT").
But when wanting to conditionally reschedule while holding a lock, you
need to use "cond_sched_lock(lock)", and the new function is the BKL
equivalent of that.
Also make fs/locks.c use it.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-11 16:04:48 -07:00
..
2008-05-02 13:40:34 +02:00
Merge branches 'release', 'acpica', 'bugzilla-10224', 'bugzilla-9772', 'bugzilla-9916', 'ec', 'eeepc', 'idle', 'misc', 'pm-legacy', 'sysfs-links-2.6.26', 'thermal', 'thinkpad' and 'video' into release
2008-04-30 13:58:00 -04:00
2008-05-03 18:11:48 +02:00
2008-04-28 06:28:30 -04:00
2008-04-28 06:28:04 -04:00
2008-04-29 11:41:22 -07:00
2008-04-28 06:28:37 -04:00
2008-04-29 08:06:29 -07:00
2008-04-29 08:06:09 -07:00
2008-04-30 08:29:50 -07:00
2008-05-01 08:03:59 -07:00
2008-04-29 08:06:22 -07:00
2008-04-30 08:29:54 -07:00
2008-05-08 10:46:56 -07:00
2008-04-29 08:06:22 -07:00
2008-05-01 13:08:16 -04:00
2008-05-01 13:08:16 -04:00
2008-05-05 08:18:45 -07:00
2008-05-03 18:11:48 +02:00
2008-04-29 08:06:22 -07:00
2008-05-01 08:04:00 -07:00
2008-05-05 07:13:21 -05:00
2008-05-01 13:08:16 -04:00
2008-04-28 08:58:32 -07:00
2008-04-30 08:29:48 -07:00
2008-04-29 08:06:22 -07:00
2008-04-29 08:06:22 -07:00
2008-05-05 23:56:18 +02:00
2008-04-30 08:29:49 -07:00
2008-05-09 07:45:18 -07:00
2008-04-29 08:06:13 -07:00
2008-04-29 08:06:07 -07:00
2008-04-29 08:06:14 -07:00
2008-04-29 08:05:59 -07:00
2008-04-30 08:29:49 -07:00
2008-04-30 08:29:48 -07:00
2008-05-01 08:03:58 -07:00
2008-04-30 08:29:36 -07:00
2008-04-30 08:29:52 -07:00
2008-04-29 08:06:22 -07:00
2008-05-01 10:21:54 -07:00
2008-04-19 19:44:59 +02:00
2008-04-29 08:06:04 -07:00
2008-05-08 14:06:19 +02:00
2008-04-29 08:06:10 -07:00
2008-04-29 08:06:22 -07:00
2008-05-05 23:56:18 +02:00
2008-05-05 23:56:18 +02:00
2008-05-08 17:00:42 +02:00
2008-04-19 19:45:00 +02:00
2008-05-05 23:56:17 +02:00
2008-05-05 23:56:18 +02:00
2008-04-19 19:44:59 +02:00
2008-05-11 16:04:48 -07:00
2008-05-10 20:43:22 -07:00
2008-04-30 08:29:37 -07:00
2008-05-01 08:03:58 -07:00
2008-04-21 16:36:46 -07:00
2008-04-30 08:29:49 -07:00
2008-04-29 08:06:23 -07:00
2008-04-30 08:29:48 -07:00
2008-05-02 16:18:42 -07:00
2008-05-02 16:18:42 -07:00
2008-04-30 08:29:53 -07:00
2008-04-10 17:28:26 -07:00
2008-04-29 08:06:07 -07:00
2008-04-30 08:29:53 -07:00
2008-04-29 08:06:04 -07:00
2008-05-01 08:04:02 -07:00