Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1726403ybh; Thu, 16 Jul 2020 22:21:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTJVuCWju2tv+4M4uZGPI6FKyjo6qzkCxe3ZwkpKN4rZhZKKLjygI6QeiAeeJyRHyveULg X-Received: by 2002:a17:906:7d1:: with SMTP id m17mr7329592ejc.490.1594963294290; Thu, 16 Jul 2020 22:21:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594963294; cv=none; d=google.com; s=arc-20160816; b=CrDc+u7m5FJ+FO8lHqg0AnjzMgJExA7DE1LsNKQ7YQp2fP2z4naG60wIAIqq0KUK1w 1LBVad2yGjw2nm11Ss8wWVkIldjfMwXx4AZq4M0PtABoXcLxWq1xi/dNO+xVpYdrC4h7 WtadFEKdtjRuZR5Mq/aUVlnj34dde0ywCdc4L6+vmq6eC4+fwUBrm7dzd2jW2M1QbzcX vU1UI1FpEZqMwhLCIramy+kQNMNeU8JSVRMeSgYldYOJ9Yrin0+81O0T/Pd8Tzs6nyv+ IJ2OgsixEH6sDzP/fuBViJsO1jEkCql2WJ7zkO7huWCcIS/FRnvj5XxpTXG9wL3lde0a Sitg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=y65kXxzifv0rIrLGQZpHf9350kFJw7Tfj12qeLvFp/4=; b=GXuVT1m4WiqS3aMCjsPXNnG4i9ntzQkED66q+E3lSCuTr4pjldhnkq3NZQQ4h1bw/o PJKpgiUwJ3W/4Mgje6dNYAYsWmUwj+S2dfDL/3lNSUoOVL8eDNt0UeenSpHmtghPTUfz VNF5Qpu3ic28UY7djdRqHudB5UknhN3WlutyfCGmyRNG8yQ65dTkSl0Boyk6bHOb9ElD J48sR7vVL7Lm4eVHPkiqIUNqXKFHc2gUNsCpi9EFbT+wXUwvsGx5X97Ga3RzEfl05SOw 7mLenB+0Z/RUJGbUffhoZyrPlXUm9y6UbNKTDG7++hHfGzUtxKK9iaqhgZHnZJZzYg0+ SNvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i23si4531090edx.261.2020.07.16.22.21.02; Thu, 16 Jul 2020 22:21:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725864AbgGQFU7 (ORCPT + 99 others); Fri, 17 Jul 2020 01:20:59 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:42738 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbgGQFU7 (ORCPT ); Fri, 17 Jul 2020 01:20:59 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1jwIni-0003VK-8R; Fri, 17 Jul 2020 15:20:51 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 17 Jul 2020 15:20:50 +1000 Date: Fri, 17 Jul 2020 15:20:50 +1000 From: Herbert Xu To: Sven Auhagen Cc: "Van Leeuwen, Pascal" , "linux-crypto@vger.kernel.org" Subject: Re: [PATCH 1/1] inside-secure irq balance Message-ID: <20200717052050.GA2045@gondor.apana.org.au> References: <20200708150844.2626m3pgdo5oidzm@SvensMacBookAir.sven.lan> <20200716072133.GA28028@gondor.apana.org.au> <20200716092136.j4xt2s4ogr7murod@SvensMacbookPro.hq.voleatech.com> <20200716120420.GA31780@gondor.apana.org.au> <20200717050134.dk5naairvhmyyxyu@SvensMacBookAir.sven.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200717050134.dk5naairvhmyyxyu@SvensMacBookAir.sven.lan> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Jul 17, 2020 at 07:01:34AM +0200, Sven Auhagen wrote: > > Alright, that makes sense, thank you. > > As I said in my second email yesterday, it is just a hint and not binding. > I run some tests and here is what happens when I disable CPU3 on my 4 Core MCBin: I don't think we should be adding policy logic like this into individual drivers. If the kernel should be doing this at all it should be done in the IRQ layer. The alternative is to do it in user-space through irqbalance. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt