Re: + itimers-fix-itimer-many-thread-hang.patch added to -mm tree

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Frank Mayhar
Date: Monday, September 15, 2008 - 10:49 am

On Sun, 2008-09-14 at 21:50 +0400, Oleg Nesterov wrote:

Did I forget last time?  Oops.


Yeah, I like it better this way myself.  Also...


...I agree with this.  It looks better and removes the sig dereference
from run_posix_cpu_timers() where it is otherwise unused.


Okay, I get it.  (This actually matches an iteration of the code but I
decided that I wasn't sure enough of my understanding to depend on
lock_task_sighand() not failing.  Things have now changed enough,
though, that it makes sense again.)


Deferring to your superior knowledge, I've made the suggested changes.
My original intent was to retain the original structure of the code but,
as you say, this code is now redundant.


Fixed.  I removed cpu_clock_sample_group_locked() entirely and moved the
guts of it to cpu_clock_sample_group().

I have a few more things to do; expect a new iteration of the patch
tonight or tomorrow.
-- 
Frank Mayhar <fmayhar@google.com>
Google, Inc.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: + itimers-fix-itimer-many-thread-hang.patch added to - ..., Frank Mayhar, (Mon Sep 15, 10:49 am)