[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081224211137.GC13502@us.ibm.com>
Date: Wed, 24 Dec 2008 13:11:37 -0800
From: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
To: Oleg Nesterov <oleg@...hat.com>
Cc: ebiederm@...ssion.com, roland@...hat.com, bastian@...di.eu.org,
daniel@...ac.com, xemul@...nvz.org, containers@...ts.osdl.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC][PATCH 2/7][v4] Protect init from unwanted signals more
Oleg Nesterov [oleg@...hat.com] wrote:
| Or, we can do
|
| if (unlikely(t->signal->flags & SIGNAL_UNKILLABLE) &&
| handler == SIG_DFL)
| return 1;
| return sig_handler_ignored(handler, sig);
|
| because sig_handler_ignored() checks SIG_IGN too.
Yes it more optimal. I will change.
--
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