Oleg Nesterov <o...@redhat.com> 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/