Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp2091img; Tue, 19 Mar 2019 16:19:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqw4aDi3QBqKHlocYUXsvWih9tHFLdrZjLg9LHp1CFQ/ZOXmHFSctt8+gE3XWhsyulkaO51a X-Received: by 2002:a62:7603:: with SMTP id r3mr4459953pfc.32.1553037580984; Tue, 19 Mar 2019 16:19:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553037580; cv=none; d=google.com; s=arc-20160816; b=CWu+k5fA+LVQC/ax3uKIKNKoOPkGF1RezI0bPP/O2TVNJcGoB5Y58MeKEFgGh4l6UG 4LfB8xnnPRuketIBPFlC5oXW9MCo032vELJY1pH8OXSfYTySvGJ0ZeDJDYwhNL1fhSDW DqhODzGXF/1atC4nKeq+cx9YMgadyfXLfMzVmSJ3cNj83G8yDKqzDBc9ajzisEiJdI9G jtlXGNQdl0ShB9F3kc643faHGoL0irI/xoyeoOCy56MDbJTCjhcqqasNcRv9HT8AJ11P APK5FfvPDVdtINzbsXWRMW48JMu08iiTZwek0XFJhxcbWpcW11h3e4sJ/bYePrBkTB2d lqag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=c9AUV8yR3rzMV63/2qlSM1yjoRPf1f87+s5sjU/mn74=; b=A68YW/fsyPbiD2oeUrjGx23NRmz9VIZdHCxu+63UQfxK2SbHIZJNuPdBEAFvy2Cuqo qjv7Jht0LbnRDPa7UzmgSV/Clesf7tbNatHbIb6jw7gZmFzJT8yd9a8BjEobgwI6SrdX HVTdj+JC82eAQRvBv2HHzyhc/gJkqMyHnI2cGP/QtPjaYJgNelwkb8XGdVAlROpLCtL5 kTa9qlf+zbnyKpyTHmxVRHRPTF8Yii5q75ToTaUXLg6p0S9lUT/hpKFjtCBaNloEj5Ya wx1qLP5u7H6t2hjM1YL24/WhvRF7gJIPfJPgf8clYgfg7Uwvr+zlTFDXhweBHiH2WUBM zNHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=rBxKEAF1; 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 o12si133221pgv.318.2019.03.19.16.19.23; Tue, 19 Mar 2019 16:19:40 -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=@wavesemi.onmicrosoft.com header.s=selector1-wavecomp-com header.b=rBxKEAF1; 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 S1727394AbfCSXS3 (ORCPT + 99 others); Tue, 19 Mar 2019 19:18:29 -0400 Received: from mail-eopbgr810114.outbound.protection.outlook.com ([40.107.81.114]:47744 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726801AbfCSXS2 (ORCPT ); Tue, 19 Mar 2019 19:18:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavesemi.onmicrosoft.com; s=selector1-wavecomp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c9AUV8yR3rzMV63/2qlSM1yjoRPf1f87+s5sjU/mn74=; b=rBxKEAF1KZ4MunIm3XdKUGDqSTRGTrQ2P7YgoQoIctE+eRL/8pxPM5AEEBqJIn4A4EExrmbIzgY8dqNEMKP8oVaVgJDIFKhIBFWixugzQ97wUVJHa00kJeYLuIaEOIOmx9eeOCbxLKCXR4rX5biJN3EefRIJrYUDKqQxQ92+bTc= Received: from MWHPR2201MB1277.namprd22.prod.outlook.com (10.174.162.17) by MWHPR2201MB1741.namprd22.prod.outlook.com (10.164.206.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.15; Tue, 19 Mar 2019 23:18:25 +0000 Received: from MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::b8d4:8f0d:d6d1:4018]) by MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::b8d4:8f0d:d6d1:4018%3]) with mapi id 15.20.1709.015; Tue, 19 Mar 2019 23:18:25 +0000 From: Paul Burton To: Valentin Schneider CC: "linux-kernel@vger.kernel.org" , Ralf Baechle , Paul Burton , James Hogan , "linux-mips@vger.kernel.org" , "linux-mips@vger.kernel.org" Subject: Re: [PATCH v2] MIPS: entry: Remove unneeded need_resched() loop Thread-Topic: [PATCH v2] MIPS: entry: Remove unneeded need_resched() loop Thread-Index: AQHU20ykrAck/zUdt0q7hlvreQS7t6YTnYAA Date: Tue, 19 Mar 2019 23:18:25 +0000 Message-ID: References: <20190315163133.31632-1-valentin.schneider@arm.com> In-Reply-To: <20190315163133.31632-1-valentin.schneider@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR01CA0009.prod.exchangelabs.com (2603:10b6:a02:80::22) To MWHPR2201MB1277.namprd22.prod.outlook.com (2603:10b6:301:24::17) authentication-results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [67.207.99.198] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d3dd92e7-dd04-43f9-0f09-08d6acc12fe0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020);SRVR:MWHPR2201MB1741; x-ms-traffictypediagnostic: MWHPR2201MB1741: x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(396003)(136003)(346002)(39850400004)(376002)(199004)(189003)(68736007)(446003)(316002)(105586002)(256004)(71190400001)(66066001)(14444005)(7736002)(486006)(25786009)(97736004)(74316002)(54906003)(106356001)(71200400001)(52536014)(305945005)(4326008)(6916009)(52116002)(5660300002)(6506007)(33656002)(102836004)(11346002)(6436002)(2906002)(14454004)(4744005)(229853002)(55016002)(6116002)(26005)(386003)(186003)(478600001)(99286004)(8676002)(3846002)(476003)(7696005)(44832011)(81156014)(76176011)(81166006)(8936002)(53936002)(9686003)(6246003)(42882007);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR2201MB1741;H:MWHPR2201MB1277.namprd22.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: UdBkTTQHQ5JRVGSauXM+UsbG2tJkT9G5zRaV0pcYb8ru6Xj3eRzl5Y5MEnRncMJHiVmkjkbuvVv7vwl4kTZf6TsRsuTYZ/wwk46pocJhiN7WLF866BUIHdiku4+0i107aMZh/UEGKfAiRak1/l0tOn7j4CiqsZ/S89aXdHW0zgBBAT5RCGgkNoJTSb6CzjZMMwa56TkdeGGk9A5jn41974MfJ4KAnC6A6QuqbF1xkoX0IcyIA6hMmhm/s6eKUhIM1kHOqaBQGUSIYEgFStzktLJ7OYH8N/NjfzzJPROkxjb8QBs99k2/B4TAtAQMkN2Zn5YjZnrq6J4CjBDTV3SUwy1jt2EM17/YNcjzU5zTvEV2YBm0aS1CveKg5n3wMlR7dsTmWTxm3aQ6Mrb/aLC5P4JesgR62jNhrfL/L2qTZss= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3dd92e7-dd04-43f9-0f09-08d6acc12fe0 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 23:18:25.5145 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR2201MB1741 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, 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. >=20 > Note that commit a18815abcdfd ("Use preempt_schedule_irq.") initially > removed the existing loop, but missed the final branch to restore_all. > Commit cdaed73afb61 ("Fix preemption bug.") missed that and reintroduced > the loop. >=20 > Signed-off-by: Valentin Schneider > Cc: Ralf Baechle > Cc: Paul Burton > Cc: James Hogan > Cc: linux-mips@vger.kernel.org Applied to mips-next. Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email paul.burton@mips.com to report it. ]