Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2875279pxk; Mon, 28 Sep 2020 02:22:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGPexP+0swCZ8qLmiKlsVT1idoah7LRdwL+ZTxFMgQRw8v8ReAhJaMRCg044oeUjsRjuya X-Received: by 2002:aa7:d15a:: with SMTP id r26mr655177edo.181.1601284964772; Mon, 28 Sep 2020 02:22:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601284964; cv=none; d=google.com; s=arc-20160816; b=nKCp64CPfDcF7kAdQ7Xmr9cctjY5n8/gZOfC95YAffvsXsMlYUJs8PAI7wA+ce7ozH dOcflOyGTcC5955X6MAopBK0G0IK8EC8Vtj/TEGzlP6NDXUlHGEkG++l20DovUlYCG48 xQ3FTIAD4S8yTm6gpaxZjRyNBWP+gElkwAC1gFeBuFZhFcuxvbJGuccIoFot3VqVAIHj yGhIF+zBuscez7dTYxvyy90MiAwq+Xxz3VDO+VwUBVWGop3ddnxikwGP1L6RZLHbJung PM1kF0urunrun5X90skUH80FfXeSeu6npr10nVaUt1D9MbGXHGTpRXbf6lznxY29xJ/z EEKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=30T0FOFjfup+Xc84zz0B0IrJTJpFFLhaauTgsoWU/vg=; b=ZNWcQbqVZirU3UtkV7M8hztd1wKUyyqMPXYQ2NeERitzKLmV6s8MLLlO4JG+gyOU9A yoUFHJQQo8vo2+lg4xhvsNGNBXmD+vN7mrgsw3+VSoAn1m4C9ckmCauBqG48IMp8EC6b hGNaZBrqe45xArAKpIeqE5Bem/yLrWfl9FVl5CDyl8oQ3HRSdsIa9WQh6RjEZuAvliEy 4cDGO/VzP6fIeDzq7RJnIT+Yo/PX+7dT49ddgUhDivw78ejUoNVnZKlRgG1/jxjbAp7e JunbwWzrqKiQ5/+hVLLOlNbTg5mz1ZeAgNYB6UccoUVqXgVpQ+/Z4FLHZ1PKrbEAFS1X VIoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b="dqhF/17z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 x25si199570edi.558.2020.09.28.02.22.21; Mon, 28 Sep 2020 02:22:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b="dqhF/17z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726648AbgI1JUq (ORCPT + 99 others); Mon, 28 Sep 2020 05:20:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726576AbgI1JUq (ORCPT ); Mon, 28 Sep 2020 05:20:46 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66F43C061755 for ; Mon, 28 Sep 2020 02:20:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=30T0FOFjfup+Xc84zz0B0IrJTJpFFLhaauTgsoWU/vg=; b=dqhF/17zLtuWgP8vfUJj6kxVDE DN9qfWWs6nkL0ZQvTQRstH+1mFJRiORKfJswAhkdcZ6rI0qOK1ZhonK7xqrochxUezjLb1LkNqlHd zpBii3DvlKZvW29KEl/t5pvHDnZp2kTohy7exbExevGh0pp3jNQmUmBptFKVg0N+aYpEOGUhLRE9o Eljg4T8z72WGsf4bd3wissM0KXp/s2SJWmRidUK6tMsmPwXD1H/AGc9YkPsxIDuRcqVieg5QtGsFL PvTnvKvg4dmttuLUjFS3ftFX0e24UXhgyEnJLYwSmSaveaRa90X+pIUkxR0wRTL603NwenIxJiUMX h58yyiIw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kMpKr-0005Bl-Mq; Mon, 28 Sep 2020 09:20:41 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 08B6D302753; Mon, 28 Sep 2020 11:20:40 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id DECDE203E73B9; Mon, 28 Sep 2020 11:20:39 +0200 (CEST) Date: Mon, 28 Sep 2020 11:20:39 +0200 From: Peter Zijlstra To: qianjun.kernel@gmail.com Cc: tglx@linutronix.de, will@kernel.org, luto@kernel.org, linux-kernel@vger.kernel.org, laoar.shao@gmail.com, qais.yousef@arm.com, urezki@gmail.com, frederic@kernel.org Subject: Re: [PATCH V7 4/4] softirq: Allow early break the softirq processing loop Message-ID: <20200928092039.GB2628@hirez.programming.kicks-ass.net> References: <20200915115609.85106-1-qianjun.kernel@gmail.com> <20200915115609.85106-5-qianjun.kernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200915115609.85106-5-qianjun.kernel@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 15, 2020 at 07:56:09PM +0800, qianjun.kernel@gmail.com wrote: > From: jun qian > > Allow terminating the softirq processing loop without finishing the vectors. > > Signed-off-by: jun qian > --- > kernel/softirq.c | 113 ++++++++++++++++++++++++++++++++++++++++++++----------- > 1 file changed, 91 insertions(+), 22 deletions(-) This is still a ginormous patch for something that should be simple. I've put my patches (and a bunch on top) in: git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git core/softirq but got a fairly significant regression report from 0day on that, and haven't had time/motivation to look at that.