Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp273872ybp; Tue, 8 Oct 2019 17:55:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIkM4C5BAIvKYupIlA/CmKFSMHF14YVQYrXvinBDILUSgX8LDcLYKthb9zj5ChJn2r4kZp X-Received: by 2002:a50:f744:: with SMTP id j4mr716666edn.73.1570582528242; Tue, 08 Oct 2019 17:55:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570582528; cv=none; d=google.com; s=arc-20160816; b=jxDO407zpv+eQ7hywZTj/Eznt567ZCCNlDqIaPvo132rJBjJbcPdoxhHq0aBjIYsuZ 8GPfoh4QzSdDDFKs4LMCyVmxZHohpS3Gom7MlEOKuraLZc8IHAkz4b47v8My7/dZxgfr QcCbeYs4nogHzED3SOuIFuqMxmewRl+55Hb+Cs/DK28XkW7dDXlZtk9E4a2ZSTAX2YEN s9Tct7O7cJYAuFPZcNUTrn7iXiT7ZG6GOgv1DcnwQxFSIIu5pFYtlBSPV04nYlhGC7db cTQfC6pNj7iTm36ajD/shFvp4y8T6WazWNdK+v64OD7VvbCuwNFbzOZj95HgkYcTnUrh tlsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=EMZtjM31Em1vP/4BHL66TlLSBp4SJ3Jkhr3vg2//7Jg=; b=TQffNKmah5Ftx6TEn0xuY1ioVM0b3yNRNxuPtp+iNIoSreloLsTw4N1RZSxLRCigVs 8OtiIhxKp0A/+hu+u0nBG/osEEea+7rVDTemXJHKupyU47p2T/elQMJkpr9v0nCpQFDf 86t7DJAF7wgHaAHJ+dl2U5B4iqSVrEjC0QrE9B814lp8j1RbQJryXyzoj4Yprnm5vU0D ucIY9duO56/kdqFSWTisfHBqA3cf2C4/cbVTgz5mTebrV+OmbHDv1JIXLUYNOwjKhAu+ NaGtpFcGc2jfkELpSYxuLNca8uNZmUTr9XioaFzf0Ojg2kfeOwjmbI0IGlCgeWyR9QrC jnsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=FYPYWqSy; 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 r17si411473edx.257.2019.10.08.17.55.04; Tue, 08 Oct 2019 17:55:28 -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=@sifive.com header.s=google header.b=FYPYWqSy; 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 S1730086AbfJIAvW (ORCPT + 99 others); Tue, 8 Oct 2019 20:51:22 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:46250 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729601AbfJIAvW (ORCPT ); Tue, 8 Oct 2019 20:51:22 -0400 Received: by mail-io1-f66.google.com with SMTP id c6so1052418ioo.13 for ; Tue, 08 Oct 2019 17:51:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=EMZtjM31Em1vP/4BHL66TlLSBp4SJ3Jkhr3vg2//7Jg=; b=FYPYWqSyx4I3ZdZfLoUgyxUd20pJG/ZUWUmeIssVu39IfkVLIkxhKVy06RoPkesrsm hFaWeoAHnxfoYSf8IZwPDCWB1n5+X8KncOA8FGYqRdSWFpoJEys20ueJ1eEmPy/L6dt/ DyHkVUXmlwQiddd7cu0vt2BJMC51MIyDgimr5t1fA7UaU0hq5EcGEsWQBVyynaW8K+fW KBfCdGxTbpLbrr3CKY2Vt+QzyHOMTQjTAKsi7lzyq/8yxweHp2onHOFAs577ckKV94tz SiOGqQEafjAzm1mJqRqqJkUy0VQCsoOiHafkVUqLZT5ohXOw3ezyhsJqN/tE9TTThuEw QbJg== 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:in-reply-to:message-id :references:user-agent:mime-version; bh=EMZtjM31Em1vP/4BHL66TlLSBp4SJ3Jkhr3vg2//7Jg=; b=KcQx8CbzSuSnCjgetzT7xZIY1y9/7pJ0SIQNNcXGZzSeQTi9z7UoIi9yPxQbRvWh5T 8f/Cul/Umx2OIDbJZIB67QpelPPiaJkSVWLwEDepf3/0PNBcUXKLaJSSivG7Tj/BlKVn jVodQ2o4oUY93HgEDdV9yuthwadyKg8hGlot5sm8CIKV+5a+DO4cM6ce01YEgY2kFvm8 jpFmPbrNbi+GtplJAcs2iwo01KS48wC4eU3Gfg3fyh4hVhoi9E/H5oWnfwzVfKz4I5PP VASG03dgtm97aMoYHn3/rd1TFNEiD/0OYUzPiS8GRSR97yi6XMXhtOXX9dvPokRDDPRl dwhg== X-Gm-Message-State: APjAAAU39BAbIIw5BPxSOtfeC1B01vERjPP9IBN0WC3a3UCzc6TztGlT 48s2MWxxAfkg5GS0/WEqABcydw== X-Received: by 2002:a92:5dda:: with SMTP id e87mr627357ilg.216.1570582281295; Tue, 08 Oct 2019 17:51:21 -0700 (PDT) Received: from localhost ([64.62.168.194]) by smtp.gmail.com with ESMTPSA id o187sm363778ila.13.2019.10.08.17.51.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2019 17:51:20 -0700 (PDT) Date: Tue, 8 Oct 2019 17:51:14 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Valentin Schneider cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Palmer Dabbelt , Albert Ou Subject: Re: [PATCH v2 6/9] RISC-V: entry: Remove unneeded need_resched() loop In-Reply-To: <20190923143620.29334-7-valentin.schneider@arm.com> Message-ID: References: <20190923143620.29334-1-valentin.schneider@arm.com> <20190923143620.29334-7-valentin.schneider@arm.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 23 Sep 2019, Valentin Schneider wrote: > Since the enabling and disabling of IRQs within preempt_schedule_irq() > is contained in a need_resched() loop, we don't need the outer arch > code loop. > > Reviewed-by: Palmer Dabbelt > Signed-off-by: Valentin Schneider > Cc: Albert Ou > Cc: linux-riscv@lists.infradead.org Thanks, queued for v5.4-rc. - Paul