Received: by 10.223.176.5 with SMTP id f5csp887167wra; Tue, 6 Feb 2018 09:00:41 -0800 (PST) X-Google-Smtp-Source: AH8x2245hleShtn/1Vocp0szVK2bcltPrvKj+ImjP9h6RCkB81YFxuzspRcVHCQ5PY65V4d2u416 X-Received: by 2002:a17:902:860a:: with SMTP id f10-v6mr2976058plo.292.1517936441603; Tue, 06 Feb 2018 09:00:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517936441; cv=none; d=google.com; s=arc-20160816; b=iDOJygX2MgMRIbET+c1ELCJ5yDW1WO0ijvhKISdVd3y1mGo/j2KExiHHCPhfCLIwTo wjJEW/IfYFVXn06g4vqTP87ede0pV284S2wv7KaXXeZn2mZOzcPl0uC6NlyFTsGJn+sn e0rckoSphVpCRC2QyCDsbGkQHXndrfjGwjgg8rI+KJE6TjBe2/xJoJEVFlNqYTg7i4M+ jBZkVWA7M0muXZeT4EtpSFrwdIdjmMdwxZqBw0mQAeL7XnzM+bP1RL7+Opa+yImWp0d6 T4y8uvrT/4uX6z9IBPMlVP3QSc848dArhB9ghBOvXYpFi7I3r5scbDdtZ+6978qHQ5VG Pcxw== 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:arc-authentication-results; bh=5v/c73VrY/CaSWMWtl5qfpmTMaZ7FRrdVV/l4AQHiFE=; b=geZhqWaDGGtPc3e3joCnUEMUdF8lpxpiUIvNPawY4/i1i2Zc+SwUEQ1cBeaGquktzc 64iWuxe114pgmUO8zbjWQ1/yFrLZMiTKBlUQ0uEoCwNIkeXHz12+6TNuxJzQkQwetBNM p9FoUSUS+VjASZQbnbXl7wJNwaUuGCp65Qh3V3Yq+w2FcbXlqN71IUye09nNah3y845a 8SXAPm4UEAIX2lHyUpb7Kzaf0lSPHAQlLBSoYpGn+Ij4zbzxibtQDlfzJm+vDkI1Hfhf z8Pku0qRUJ07PrfPMkvr5vKaiwVg9wGYJGSXKoJYh/Hj7Bq2gIQspBALK98iPqkfi+c3 178A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9-v6si2056345plk.730.2018.02.06.09.00.26; Tue, 06 Feb 2018 09:00:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753316AbeBFQ7G (ORCPT + 99 others); Tue, 6 Feb 2018 11:59:06 -0500 Received: from Chamillionaire.breakpoint.cc ([146.0.238.67]:35192 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752331AbeBFQ46 (ORCPT ); Tue, 6 Feb 2018 11:56:58 -0500 Received: from bigeasy by Chamillionaire.breakpoint.cc with local (Exim 4.84_2) (envelope-from ) id 1ej6VA-0004pE-99; Tue, 06 Feb 2018 17:53:48 +0100 Date: Tue, 6 Feb 2018 17:56:49 +0100 From: Sebastian Andrzej Siewior To: David Miller Cc: edumazet@google.com, tglx@linutronix.de, torvalds@linux-foundation.org, efault@gmx.de, peterz@infradead.org, dima@arista.com, frederic@kernel.org, linux-kernel@vger.kernel.org, 0x7f454c46@gmail.com, akpm@linux-foundation.org, fweisbec@gmail.com, hannes@stressinduktion.org, mingo@kernel.org, alexander.levin@verizon.com, pabeni@redhat.com, paulmck@linux.vnet.ibm.com, rrendec@arista.com, riel@redhat.com, sgruszka@redhat.com, wanpeng.li@hotmail.com Subject: Re: [RFC 1/2] softirq: Defer net rx/tx processing to ksoftirqd context Message-ID: <20180206165649.cze4iy4k36rcigbe@breakpoint.cc> References: <20180117.172447.1568697383040902713.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180117.172447.1568697383040902713.davem@davemloft.net> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-01-17 17:24:47 [-0500], David Miller wrote: > From: Eric Dumazet > Date: Wed, 17 Jan 2018 14:02:43 -0800 > > There is also the netif_rx_ni() stuff. > > > > Can't remember right now why it is not using > > local_bh_{diable,enable}() pair instead > > of preempt_disable() ... if (local_softirq_pending()) do_softirq(); > > Hmmm, that code predates the initial GIT repository build. > > I do remember we had some back and forth with that stuff. So I did a little research and tried to replace preempt_disable() with local_bh_disable() [0] a while ago. [0] https://lkml.kernel.org/r/20170616172400.10809-1-bigeasy@linutronix.de Sebastian