From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753785AbZIKHhx (ORCPT ); Fri, 11 Sep 2009 03:37:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753286AbZIKHhw (ORCPT ); Fri, 11 Sep 2009 03:37:52 -0400 Received: from casper.infradead.org ([85.118.1.10]:33302 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753232AbZIKHhw (ORCPT ); Fri, 11 Sep 2009 03:37:52 -0400 Subject: Re: [PATCH 0/3] resend, cpuset/hotplug fixes From: Peter Zijlstra To: Lai Jiangshan Cc: Oleg Nesterov , Andrew Morton , Gautham Shenoy , Ingo Molnar , Jiri Slaby , Li Zefan , Miao Xie , Paul Menage , "Rafael J. Wysocki" , Rusty Russell , linux-kernel@vger.kernel.org In-Reply-To: <4AA9F902.4030306@cn.fujitsu.com> References: <20090910192153.GA584@redhat.com> <1252615996.7205.99.camel@laptop> <4AA9F902.4030306@cn.fujitsu.com> Content-Type: text/plain Date: Fri, 11 Sep 2009 09:37:39 +0200 Message-Id: <1252654659.7126.2.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2009-09-11 at 15:15 +0800, Lai Jiangshan wrote: > > I have different concept. cpuset_cpus_allowed() is not called at atomic > context nor non-preemptable context nor other critical context. > So it should be allowed to use mutexs. That's what I think. It hardly does any work at all, so why bother with a mutex?