[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADZ9YHjaQtes5XXo1FOSLjqgqbyA_d5LT607+8HRgqXFm-69=g@mail.gmail.com>
Date: Wed, 29 Jan 2014 10:45:31 +0600
From: Rakib Mullick <rakib.mullick@...il.com>
To: Oleg Nesterov <oleg@...hat.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: Do we really need curr_target in signal_struct ?
On Wed, Jan 29, 2014 at 10:09 AM, Rakib Mullick <rakib.mullick@...il.com> wrote:
> On Tue, Jan 28, 2014 at 10:43 PM, Oleg Nesterov <oleg@...hat.com> wrote:
>> On 01/28, Rakib Mullick wrote:
>>
>> You could simply do while_each_thread(p, t) to find a thread which
>> wants_signal(..).
>>
> Yes, while_each_thread() is much nicer than get_nr_thread(), thanks for
> the pointer.
>
Or, should we use for_each_thread()? Just noticed that, you've plan to remove
while_each_thread().
Thanks,
Rakib
--
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