Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3146imm; Tue, 16 Oct 2018 16:38:25 -0700 (PDT) X-Google-Smtp-Source: ACcGV62kaNK7o7aP79AK8tyfNpyUHzGwkpP22DLtU40t5QQYyvnXSnlWWQWAzYtENy3aXajIl+MP X-Received: by 2002:a17:902:e185:: with SMTP id cd5-v6mr22806221plb.224.1539733105422; Tue, 16 Oct 2018 16:38:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539733105; cv=none; d=google.com; s=arc-20160816; b=NZZUOed1IgCCbwIDwHaoyNctvZzmUb7mEG/JcrTEEl8C3C0HsW1HWj+FVoEWoWhEZf pt8FriDu9qGlWXmNdiNkDFftU7P3FqNBDHTv1jPOkUGV5BpnnTJGtMgxfQ0JNzzQWxFM t/2PrYaMyNvdAGp6FmAYWbrsXljvTI3RMv+dLuTJpdLWzN49xYzj7hufvVTmyQb7qhMZ KFQ8UhEmBMvRBXP9YpUD7ECYExc/OomfzgX4h0yK6kvozUK/icoP80Hv8M7TGgKI9YtX pBQkty9weO5zbXtGRpX4lj3StAEIhLRPFFIL6opbJDNnh50Zo9FPgZTyBCU6Pzw+DUcD Fmlw== 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:dkim-signature; bh=CtEotWFeutC+Xtyw9ElzbIiw7CxA+mEwYLk2XisPzoY=; b=e0K++wU8rmiJBKPVZRlucEk9HPWbevmH5PfILnSQ1EAYE64R8SA0tna1vrd/qw9C2T WKblNsdgwYWS28JK0RyHfC/9VvXAXv3YFHs9A6PoCRLBGd4mC/GrV5CTXeAn4vmEIEtR yXz3UJ5KDSRnYbK6AY/6/UoG2Lf2ojAO3vJKhyfW6CRcxbLK3A0acGoLQoSIgwrrCiwk obbU8hQqYw9+i61oJDTSM3jEpT9H60+9bv7HP2CfatISQo2pdrUxQ8FlPlZXDjCYVyVG rXMg842cdiHXAcgXgwn3y3FZqnsIuEZ8sM7qUSvI2/9Oyf+3YUVpKEop9MLUrJYF5AKH /fMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FBZfa0wp; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11-v6si14932480plk.333.2018.10.16.16.38.04; Tue, 16 Oct 2018 16:38:25 -0700 (PDT) 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=pass header.i=@gmail.com header.s=20161025 header.b=FBZfa0wp; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727410AbeJQH3w (ORCPT + 99 others); Wed, 17 Oct 2018 03:29:52 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:39876 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727208AbeJQH3w (ORCPT ); Wed, 17 Oct 2018 03:29:52 -0400 Received: by mail-pl1-f194.google.com with SMTP id e67-v6so2757082plb.6 for ; Tue, 16 Oct 2018 16:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CtEotWFeutC+Xtyw9ElzbIiw7CxA+mEwYLk2XisPzoY=; b=FBZfa0wpaBNnrvJbFgA96VwNrl+jwXFdy3xEYOhkXB33fQELiRef3FMkZg7uhWfjpo xooUs2L5T+NNLcq67V2eTZ4mziLI3USkLRddDLNrZ6pEDhLtvwYpNFOLO6p5ePStmKrZ zbmG9z+fzXX2sc9b5xpDdR0jU20DnFJmGuWA8wAtvPwAZBnF2Uxal3TFIGGC2VrJ+6jv kFe47hNPu8nCntVgNQrNdr+NpvY9R1xshfDdO5wG06pTdYCTCh/aPFJIx+glxx6lLFPm tFzrhcrQb5IlsGAISbaoB2hcizdABxPOIahTNdyqPzxQc50UUtf7i9Sce9uzwqBsb0Gg kQPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CtEotWFeutC+Xtyw9ElzbIiw7CxA+mEwYLk2XisPzoY=; b=KIWzjy/2WrMN2lcCOg22MoWDCeUWOl1psCG2l9wXVnBc7IZs4CCpO6sJ+O/DeSvcuz DiR8lJJZqCle01OaO2qPL4c9qFpg73HIfTkyb5Va6f2gTk7drkMfheYYhlDIpwnm4UPU mgLu8cW5VnQ5NnvFcUvlhXMFarIn4+yB+/4bgLN1AqPAiIA6Mku3TjwdFi5iyX9r2+eO m1BiC+WzsC7Xb236N8mdgaXZ0IaQdkaWy4kOocRL1JHzysdHc9s4NiloKeBWnSaUPj1f ZKy0MF8n1pREDx6yX/iokM3dm64fZPBclAm7cmOTj8Rr2aIT41YWh6r0us5M/WDxreP1 DMVw== X-Gm-Message-State: ABuFfogkI20ZMkhasUh4/gJZ4wqT7dAnjkfuxBAZ+5W2EPlUVnNUvytr Oj47VYYQx2fvrQ/5gmulFeQ= X-Received: by 2002:a17:902:bcc3:: with SMTP id o3-v6mr23704916pls.66.1539733027368; Tue, 16 Oct 2018 16:37:07 -0700 (PDT) Received: from localhost (c-24-4-232-171.hsd1.ca.comcast.net. [24.4.232.171]) by smtp.gmail.com with ESMTPSA id o2-v6sm15525832pgp.82.2018.10.16.16.37.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Oct 2018 16:37:06 -0700 (PDT) Date: Tue, 16 Oct 2018 16:37:04 -0700 From: Richard Cochran To: Jonathan Corbet Cc: Frederic Weisbecker , LKML , Sebastian Andrzej Siewior , Peter Zijlstra , "David S . Miller" , Linus Torvalds , Thomas Gleixner , "Paul E . McKenney" , Ingo Molnar , Frederic Weisbecker , Mauro Carvalho Chehab Subject: Re: [RFC PATCH 00/30] softirq: Make softirqs soft-interruptible (+ per vector disablement) Message-ID: <20181016233704.7foq5jxvi5mn57jd@localhost> References: <1539213137-13953-1-git-send-email-frederic@kernel.org> <20181016160359.5523ae90@lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181016160359.5523ae90@lwn.net> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 16, 2018 at 04:03:59PM -0600, Jonathan Corbet wrote: > I have to ask a dumb question, though. Might it not be better to add a > new set of functions like: > > local_softirq_disable(mask); > spin_lock_softirq(lock, mask); > > Then just define the existing functions to call the new ones with > SOFTIRQ_ALL_MASK? It would achieve something like the same result with > far less churn and conflict potential; then individual call sites could be > changed at leisure? I was thinking the exact same thing... Thanks, Richard