[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <5933F48C-49D6-492D-AB7B-B76A3ADDB6C6@fastmail.fm>
Date: Fri, 29 Jul 2011 21:58:25 +1000
From: Greg Banks <gnb@...tmail.fm>
To: Christoph Hellwig <hch@...radead.org>
Cc: Eric Dumazet <eric.dumazet@...il.com>, NeilBrown <neilb@...e.de>,
"linux-nfs@...r.kernel.org" <linux-nfs@...r.kernel.org>,
David Miller <davem@...emloft.net>,
linux-kernel <linux-kernel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH] sunrpc: use better NUMA affinities
Sent from my iPhone
On 29/07/2011, at 20:36, Christoph Hellwig <hch@...radead.org> wrote:
> 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.
>
Sure, and a whole lot of the callsites are ("..._%d", cpu), hence the
unfortune :(
Greg.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists