From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:46361 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756115Ab1G2Kgk (ORCPT ); Fri, 29 Jul 2011 06:36:40 -0400 Date: Fri, 29 Jul 2011 06:36:34 -0400 From: Christoph Hellwig To: Greg Banks Cc: Eric Dumazet , NeilBrown , linux-nfs@vger.kernel.org, David Miller , linux-kernel , netdev Subject: Re: Fw: [PATCH] sunrpc: use better NUMA affinities Message-ID: <20110729103634.GA12050@infradead.org> References: <20110729153207.17af3085@notabene.brown> <4E324DB4.7060600@fastmail.fm> <1311921035.7845.10.camel@edumazet-laptop> <4E3258E1.6020000@fastmail.fm> Content-Type: text/plain; charset=us-ascii In-Reply-To: <4E3258E1.6020000@fastmail.fm> Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Fri, Jul 29, 2011 at 04:53:21PM +1000, Greg Banks wrote: > >Check commit 94dcf29a11b3d20a (kthread: use kthread_create_on_node()) to > >see how this strategy already was adopted for ksoftirqd, kworker, > >migration, and pktgend kthreads. > > Ah, I see. It's unfortunate that the kthread_create() API ends up > being passed a CPU number but that's only used to format the name > and not for sensible things :( kthread_create doesn't have a cpu argument - it has a printf-like format string.