[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090205031528.1018AFC381@magilla.sf.frob.com>
Date: Wed, 4 Feb 2009 19:15:28 -0800 (PST)
From: Roland McGrath <roland@...hat.com>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>, Lin Ming <ming.m.lin@...el.com>,
Peter Zijlstra <peterz@...radead.org>,
"Zhang, Yanmin" <yanmin_zhang@...ux.intel.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] ia64: ptrace_attach_sync_user_rbs: use ->sighand
instead of ->signal to check the task is alive
> Actually, this code doesn't need tasklist_lock and this check at all, it
> should be converted to use lock_task_sighand().
Might as well just do that, it's a harmless enough change. For other
trivial no-op cleanup while you are there, task_is_stopped() and
task_is_traced() are the norm now.
Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists