From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: [PATCH v2 4/4] kthread: use kthread_create_on_cpu() Date: Tue, 30 Nov 2010 09:38:12 +0000 Message-ID: <15903.1291109892@redhat.com> References: <1291043719.3435.981.camel@edumazet-laptop> <1290972833.29196.90.camel@edumazet-laptop> <20101128224024.GA12300@basil.fritz.box> <1290984712.29196.100.camel@edumazet-laptop> <20101128230146.GB12300@basil.fritz.box> <1290987424.29196.128.camel@edumazet-laptop> <20101129090510.GA15763@basil.fritz.box> <1291023532.3435.29.camel@edumazet-laptop> Return-path: In-Reply-To: <1291043719.3435.981.camel@edumazet-laptop> Sender: linux-kernel-owner@vger.kernel.org To: Eric Dumazet Cc: dhowells@redhat.com, Andi Kleen , Andrew Morton , linux-kernel , netdev , David Miller , Tejun Heo , Rusty Russell , linux-arch@vger.kernel.org List-Id: linux-arch.vger.kernel.org Eric Dumazet wrote: > + p = kthread_create_on_cpu(run_ksoftirqd, hcpu, hotcpu, > + "ksoftirqd/%d", hotcpu); Does kthread_create_on_cpu() need to take hotcpu twice? Can one of the arguments be folded into the other? David From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:7964 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754718Ab0K3Jia (ORCPT ); Tue, 30 Nov 2010 04:38:30 -0500 From: David Howells In-Reply-To: <1291043719.3435.981.camel@edumazet-laptop> References: <1291043719.3435.981.camel@edumazet-laptop> <1290972833.29196.90.camel@edumazet-laptop> <20101128224024.GA12300@basil.fritz.box> <1290984712.29196.100.camel@edumazet-laptop> <20101128230146.GB12300@basil.fritz.box> <1290987424.29196.128.camel@edumazet-laptop> <20101129090510.GA15763@basil.fritz.box> <1291023532.3435.29.camel@edumazet-laptop> Subject: Re: [PATCH v2 4/4] kthread: use kthread_create_on_cpu() Date: Tue, 30 Nov 2010 09:38:12 +0000 Message-ID: <15903.1291109892@redhat.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Eric Dumazet Cc: dhowells@redhat.com, Andi Kleen , Andrew Morton , linux-kernel , netdev , David Miller , Tejun Heo , Rusty Russell , linux-arch@vger.kernel.org Message-ID: <20101130093812.zeV0HVQFq8ICXerzIpqmJ8zSRAEFJ97nzgLUkNxlrMg@z> Eric Dumazet wrote: > + p = kthread_create_on_cpu(run_ksoftirqd, hcpu, hotcpu, > + "ksoftirqd/%d", hotcpu); Does kthread_create_on_cpu() need to take hotcpu twice? Can one of the arguments be folded into the other? David