From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754380AbbJGNuX (ORCPT ); Wed, 7 Oct 2015 09:50:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44928 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753844AbbJGNuW (ORCPT ); Wed, 7 Oct 2015 09:50:22 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20151007115404.GA20428@redhat.com> References: <20151007115404.GA20428@redhat.com> <20151005120044.GA6198@redhat.com> <7744.1444210762@warthog.procyon.org.uk> To: Oleg Nesterov Cc: dhowells@redhat.com, Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] change current_is_single_threaded() to use for_each_thread() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2955.1444225819.1@warthog.procyon.org.uk> Date: Wed, 07 Oct 2015 14:50:19 +0100 Message-ID: <2956.1444225819@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Oleg Nesterov wrote: > To clarify, we had some "real" bugs fixed by s/while_each_thread/ > for_each_thread/, but only because while_each_thread() was used wrongly. > for_each_thread() is more safe, it only needs the stable task_struct. Fair enough. David