Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753664AbZJVAtQ (ORCPT ); Wed, 21 Oct 2009 20:49:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753485AbZJVAtP (ORCPT ); Wed, 21 Oct 2009 20:49:15 -0400 Received: from one.firstfloor.org ([213.235.205.2]:45130 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753484AbZJVAtP (ORCPT ); Wed, 21 Oct 2009 20:49:15 -0400 Date: Thu, 22 Oct 2009 02:49:19 +0200 From: Andi Kleen To: Arjan van de Ven Cc: john stultz , Andi Kleen , lkml , Mike Fulton , Sean Foley , Darren Hart Subject: Re: [RFC][PATCH] Add prctl to set sibling thread names Message-ID: <20091022004919.GT32470@one.firstfloor.org> References: <1256167297.4768.14.camel@localhost.localdomain> <20091021174804.3885db37@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091021174804.3885db37@infradead.org> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 531 Lines: 13 > you're pretty much the first now who touches ->comm from > not-the-thread-itself.... are you sure that is safe? It's not, there is no locking. On the other hand nothing should crash, just users might see half rewritten data. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/