29 lines
818 B
Diff
29 lines
818 B
Diff
Subject: epoll.patch
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
Date: Fri, 08 Jul 2011 16:35:35 +0200
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
---
|
|
fs/eventpoll.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
Index: linux-stable/fs/eventpoll.c
|
|
===================================================================
|
|
--- linux-stable.orig/fs/eventpoll.c
|
|
+++ linux-stable/fs/eventpoll.c
|
|
@@ -495,12 +495,12 @@ static int ep_poll_wakeup_proc(void *pri
|
|
*/
|
|
static void ep_poll_safewake(wait_queue_head_t *wq)
|
|
{
|
|
- int this_cpu = get_cpu();
|
|
+ int this_cpu = get_cpu_light();
|
|
|
|
ep_call_nested(&poll_safewake_ncalls, EP_MAX_NESTS,
|
|
ep_poll_wakeup_proc, NULL, wq, (void *) (long) this_cpu);
|
|
|
|
- put_cpu();
|
|
+ put_cpu_light();
|
|
}
|
|
|
|
static void ep_remove_wait_queue(struct eppoll_entry *pwq)
|