Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1592753imc; Mon, 11 Mar 2019 18:11:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqw187cs5BLlXWJRIvb9BkYfSeMIdeb/kcZJaeIO+jCx23uxXaOj+bciMz4IXjJl7Hz5eKEB X-Received: by 2002:a17:902:3a5:: with SMTP id d34mr6903045pld.174.1552353080975; Mon, 11 Mar 2019 18:11:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552353080; cv=none; d=google.com; s=arc-20160816; b=pBPKuekSfkJBE2/CFbzVsb3DA0KvLu6+xbo+qxZwtOgIfplZkyAJksyC/Qq89C+mZU fqyGLmTAYH70+ssCGe2HZxp0iKUMWEIHF6RtsJ8xsVSX35PIiBCNrsULAJD/XyNqoS6w z8kOlKbJzTzW7I3FQv5bKMxF6BCdCCTfWJJRBQ2urTec9Hj7Za3o9uFU20B9OV80fV2V J8htm1t+T1jyCW2lIBDAPPRxvDM8K35pN7k0T4ahiSVn/x0FAAmJnO9UmHv/RLKRnGXl rDYundDfSpDAobfsG22/IQgxKFtCx4ReMmMC+ElCa+Ka7PT79CHrBLiwTwbGKbcOREyH HBmQ== 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 :in-reply-to:references:mime-version:dkim-signature; bh=mXBSInv4StmhSD3zlmvNNrSxU6RGU/o+DncZzCMSEvc=; b=sWAwZusJR4ZgvvAv66q52pLDc6C1xZ+Zud30PgDYcVI64GtHtS2loeBnyJ4JuOCTTQ yfYR5/Zu8nk3kGqoiOT3oJd00bvors/XCeIwdscX5piFqRAmLeemYJblIXzPDCtXRAA2 7TlUqR2xNN2zp39F2J4rQM0ee3C98bfcAQdkYMxfstTNSL1jUOvhMtZ5xM4SbsEec4E7 wxEJfpmtND/MoiSnZQjO3Gw3r4brDsCf0kkwWe/tMlktbvWRpRXjMimMw8hShuNR7FZa fLl3I5Tmw6CFrKQVt4xGkNNFwZEXGsE8cy1Zh9sneNwIEMN/+XllQvHs5rj9FSk9ZfNw S8XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UQCvoe7s; 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 t7si6541691plr.291.2019.03.11.18.11.04; Mon, 11 Mar 2019 18:11:20 -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=UQCvoe7s; 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 S1726616AbfCLBKV (ORCPT + 99 others); Mon, 11 Mar 2019 21:10:21 -0400 Received: from mail-yw1-f66.google.com ([209.85.161.66]:38256 "EHLO mail-yw1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726009AbfCLBKU (ORCPT ); Mon, 11 Mar 2019 21:10:20 -0400 Received: by mail-yw1-f66.google.com with SMTP id m207so481433ywd.5 for ; Mon, 11 Mar 2019 18:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mXBSInv4StmhSD3zlmvNNrSxU6RGU/o+DncZzCMSEvc=; b=UQCvoe7sGZ/6a1j66opYhFcbq9ogJWmHMoI93WsijyciCaiL1wbNWy4EDSFbn3Ei+S twF9qcUTNhS1sA6liAp+y5oCVg1yY8UI1uH+oq1a7UZd/lad/OYZPiDkU2xCAvlDjZDU 7EskyEraRLR+onXxC3z2cdqf0p23Ohd5qdjSTnc83uM1kOw0eUM4ZId5Ovm7Q9AfnOrx NlxPcdfOkY8r82kAUCHDfm0T3/s2tRk/oJUMSGn9Lndsw4yS0QMEBnFnAHPqZTON/34C N8kvkgt7RidKFFW/y61oizcT7hWAOk3FDqSakAGLYtKtFXvWGFGi1/zUl5NQuwJYVB1G k6aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mXBSInv4StmhSD3zlmvNNrSxU6RGU/o+DncZzCMSEvc=; b=kN2pBrHVBYNBYe7h1nwzYVQRDtg6VFIbuBP3fwUV5ak4o4Otm/ZzBMJ/dlMZo2tE7z teeauS5YaPqOe7CGTOB4vTWy3QY4FjdL9pTIlkbs0RXOHO6GjBT7VhwBDJ/HO639RHAn L3l/X71xHDwGS+5gNyKJJLiKCBeS/je+cPi4s4SqUMlD1Wu2G6oEpQ6CyL+rVsUQJb8G eAAK0Xy4uDfgaK4j2Nm3asVoIxGZ4CYufS75ImWEe/wmlxuCt2anoXR8toxDKI3zJd8v isaDU0CIrWXKU1QBCy568cZEm24zpgLHMcJq1Y7VzawCMNsSio351Lt7OgKv4eM/7cLN 0bHg== X-Gm-Message-State: APjAAAWmLGCUiYJPrlwN6xpN0OscSfB76dDRu44rJIHi3o/nWmqJkYuI +0EM9um3co69EG8ot01rBmrGgpS6MUtdpLIDAKg= X-Received: by 2002:a25:e64d:: with SMTP id d74mr30899053ybh.399.1552353019832; Mon, 11 Mar 2019 18:10:19 -0700 (PDT) MIME-Version: 1.0 References: <20190311224752.8337-1-valentin.schneider@arm.com> <20190311224752.8337-15-valentin.schneider@arm.com> In-Reply-To: <20190311224752.8337-15-valentin.schneider@arm.com> From: Max Filippov Date: Mon, 11 Mar 2019 18:10:04 -0700 Message-ID: Subject: Re: [PATCH 14/14] xtensa: entry: Remove unneeded need_resched() loop To: Valentin Schneider Cc: LKML , Chris Zankel , linux-xtensa@linux-xtensa.org 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 Mon, Mar 11, 2019 at 3:48 PM 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. > > Signed-off-by: Valentin Schneider > Cc: Chris Zankel > Cc: Max Filippov > Cc: linux-xtensa@linux-xtensa.org > --- > arch/xtensa/kernel/entry.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Max Filippov -- Thanks. -- Max