Re: filp usage when cpu busy

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Wednesday, October 31, 2007 - 9:05 pm

On Thursday 01 November 2007 12:56, bc Wong (chimwong) wrote:

Yeah, it's probably because filp structures are freed by
RCU, and if you have a locked up CPU then it can't go
through a quiescent state so RCU stops freeing your filps.

If you add some cond_resched()s to your code, you should
find that RCU will force a reschedule and things will work
(actually, for 2.6.16, I'm not sure if RCU had the code to
force a reschedule... it's force_quiescent_state() in
kernel/rcupdate.c upstream).
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
filp usage when cpu busy, bc Wong (chimwong), (Wed Oct 31, 6:56 pm)
Re: filp usage when cpu busy, Nick Piggin, (Wed Oct 31, 9:05 pm)
Re: filp usage when cpu busy, bc Wong, (Thu Nov 1, 10:51 am)