Received: by 10.223.148.5 with SMTP id 5csp6444519wrq; Wed, 17 Jan 2018 13:55:44 -0800 (PST) X-Google-Smtp-Source: ACJfBot+PE2IE2v2uZGWRpCABioKYh2QrbQ1tTGM8aUFvYni2OWkHsmJXryr6VEsQ2MfJb+PovVE X-Received: by 10.99.117.86 with SMTP id f22mr28641247pgn.330.1516226144168; Wed, 17 Jan 2018 13:55:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516226144; cv=none; d=google.com; s=arc-20160816; b=WAi+98qmxT/+7x9Bq80ChUhj9Fd+KgrTGVoSTkXgLDHKSp9xaDlFq4XWAOAUgR5lkR SzBlPVrEcMY/qDEO0ItAUy9yiUXzpgW+hquxh5Ewoz1sLGRLMpMoSdNjZaVhyVnpRUVg ByY7SDFQDBy6O7m6k/z29+f1Ew+9AcKwuAq9ycV9793V5TArSBOzVfxtHGyf/KX5n5/y eNEcTrukXE6Mf7v5XV0e6Zmrz0DIuLt0pPji7s5wwYKXQTKOGF6PMnxaNwTYjxyj4Win nFP062QFAgQnv6h1dB5xxqpqp/BRTFRNjkh/EdpkcKMbeG++2PNybcUd+qlIiurh20hK M0uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=sb4oNlQNFmuvG9cf26hWPlHKy05hGyaASmovOPVLewI=; b=cl5P1tkC4a0Vj/lK0RmtTF8UGo3AE3AaZquHHDJNYe1Dip0WbGFqTsNjXwFQslVS8R L4tofEkaRpBgXjHXGeS7kjySx2b/nK8bxP5Bf+ey2+pKgnbrguk6Wi7gxu57lOzp6OYa 21ZFKws0kV1xdmRjBTqBftrj7tXJkehZJUdEoy+fHeT1IAi1r5ztdEK/dOcwE1ckImiN k++3ltcRw2ccksORB/1mPxtNA9FkPitqXMnZUK1IQmPOtj6IMCMd55Q9sdEJRZI3BXKM ATSxZIq7bEOa4l1Vq7cluic2lwbpp4fy58F9iUwhXiw/nWnuLCpYSClxx+oPHOBnKuBA 5c2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=mlD+UVIc; 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 o62si4577669pga.342.2018.01.17.13.55.29; Wed, 17 Jan 2018 13:55:44 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=mlD+UVIc; 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 S1753872AbeAQVyf (ORCPT + 99 others); Wed, 17 Jan 2018 16:54:35 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:43070 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753209AbeAQVye (ORCPT ); Wed, 17 Jan 2018 16:54:34 -0500 Received: by mail-it0-f68.google.com with SMTP id u62so11037672ita.2 for ; Wed, 17 Jan 2018 13:54:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=sb4oNlQNFmuvG9cf26hWPlHKy05hGyaASmovOPVLewI=; b=mlD+UVIcz0NAdKeYLTzrCZNCn/UWvG//8j1rBA5/TLX8tEbJvhX33Bqfxg8as9h2BU 8mrGagQC5p3q9oyhwSL8nn7CpI4+pSt89ax/E9LTf5jmFVWgl1crtHbA9vzRxB0P3D2Z zYKfDf1g+8TVUuT9xvpBld8YPEbKmv4OkepmV1zUNRM+MvXyJ9+Js+d/TWuX7G0LQoyq BpZOiD/HBwq6eKiAe0xr0F9SgQvq30H4xuhPFONHqNgOr6+iUionfRXYzPOUXIAxSVA/ cch9g/OnHbUyIHYWLCrKaFw/0UVZrzSNXFGuVTC99Ii9CsDDTSFY56O95Hhap/SxXK56 6cBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=sb4oNlQNFmuvG9cf26hWPlHKy05hGyaASmovOPVLewI=; b=cSSsl3CNI7eFuU1tIQ9iJ7lPbxm8rFYlsmwnPaw5Xskd5opEbLTGG+UoBE47fTpsX8 jqDfRDA27tyk/nS1w+pTjFlgF9QS93PtRtkCPgLdOLmM0efOpUIRCb0jgerOwfRHhftC /CE5iH0IhDuGXRkUhw+P8v0yK+CNUuQeu6Wkfp69CAtTGO7LL/pAsEjeg5pXBxGelU6E wCjQKtmQrHNdR2S0y4nqua4pjqg04eUGFBeq8UUjmAlCg9J7nMLseM1jW50mdDoshEk8 ClU/PkaL+qRzzCmAVyvTsrIcA2VO6UQnm6zSr20oXpEGuTgLsJGGYl5AscQ+wVuzKvt4 y+fg== X-Gm-Message-State: AKwxytfoJfX8BMDGUuVArJx0oP/CUYKJuz1vFjrJeThBAT961FwijEvm 6YHmIXlmM+Izsh1z0d5CdP3SPJ5NZifygxWQ6Og= X-Received: by 10.36.204.85 with SMTP id x82mr22776843itf.21.1516226073652; Wed, 17 Jan 2018 13:54:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.6.147 with HTTP; Wed, 17 Jan 2018 13:54:32 -0800 (PST) In-Reply-To: <20180117.164932.1269304606476934540.davem@davemloft.net> References: <1515782670.7007.3.camel@gmx.de> <20180117.153049.1803664333084879932.davem@davemloft.net> <20180117.164932.1269304606476934540.davem@davemloft.net> From: Linus Torvalds Date: Wed, 17 Jan 2018 13:54:32 -0800 X-Google-Sender-Auth: LkjROEtdnJToGLbPZbwaFaQ3Guk Message-ID: Subject: Re: [RFC 1/2] softirq: Defer net rx/tx processing to ksoftirqd context To: David Miller Cc: Mike Galbraith , Peter Zijlstra , Eric Dumazet , Dmitry Safonov , Frederic Weisbecker , Linux Kernel Mailing List , Dmitry Safonov <0x7f454c46@gmail.com>, Andrew Morton , Frederic Weisbecker , Hannes Frederic Sowa , Ingo Molnar , Sasha Levin , Paolo Abeni , Paul McKenney , Radu Rendec , Rik van Riel , Stanislaw Gruszka , Thomas Gleixner , Wanpeng Li Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 17, 2018 at 1:49 PM, David Miller wrote: > >> That said, this made me wonder a bit. I wonder how bounded the latency >> is for raising a softirq from process context. We only _check_ the >> softirq on the last hardirq exit, I think. > > System call return checks it, otherwise this situation would be > completely bolixed. That's what I thought too. But then I went and looked, and I can't find it. But you're probably right, and I just missed it. Linus