Re: [PATCH] change current_is_single_threaded() to use for_each_thread()
From: David Howells
Date: Wed Oct 07 2015 - 05:39:29 EST
Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
> Change current_is_single_threaded() to use for_each_thread() rather
> than deprecated while_each_thread().
Wouldn't the old way be more efficient, given there's always going to be at
least one thread? Granted, it's not much of an efficiency boost...
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/