From 91cf5ab60ff82ecf4550a596867787c1e360dd3f Mon Sep 17 00:00:00 2001 From: Eric Dumazet Date: Wed, 11 Sep 2013 14:24:06 -0700 Subject: [PATCH] epoll: add a reschedule point in ep_free() ep_free() might iterate on a huge set of epitems and hold cpu too long. Add two cond_resched() in order to yield cpu to other tasks. This is safe as we only hold mutexes in this function. Signed-off-by: Eric Dumazet Cc: Al Viro Cc: Theodore Ts'o Acked-by: Eric Wong Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed