Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp584787ybc; Tue, 12 Nov 2019 06:17:45 -0800 (PST) X-Google-Smtp-Source: APXvYqzre0H38Xzi8T+66tE48gs8zzLejFpj4hO1H6UsB0rRerp4xWndF/rYORlV78lF/W5AjyK0 X-Received: by 2002:a17:906:843:: with SMTP id f3mr7728407ejd.127.1573568265570; Tue, 12 Nov 2019 06:17:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573568265; cv=none; d=google.com; s=arc-20160816; b=XxJHurReUayTig3obUyotfVrs/IckokPUrLIYFOnbTP7lV1ECbDinUJ53oHAB5SSd0 aJwKUaVYsP39zXAzIw73miPAV4Y6eXjXVGovwT7fSxeyTsflGUuSDx6Cme4F9rZlqBM5 GrzxJv4IQXY+rTWTfNLGcFA2kp4XyYYhwsM6q1SZYZ1wKqWeqO2hnp6qJrQKQlsjtnP2 +s8BnARoJZb+C+ro/2bmFxPLZie7x8+b/2B0XYr/SrMOUBgKCYvP5dK/0PHTKKb9nX31 Jrcg9vSLSjpLZzVj3fg6oVTpWRihEnt3nVR1yGlkUj7G01bnSVpRK+pc562uajvgmISv pmfg== 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; bh=TXYKOAlP0u6d+zt2E79RovJq6tyxDUhLA8OVRQ1Ib1c=; b=gacCr56/WMZmBQ1FODsrnFaxpNR8SCwewCxM/oJf8vvkaNHTQ3TWKy9ZGSxu9OoP8I B7H7P+zXN/nx7c1UUzHVzxqVwd6wzWtkzAJqfrB5hjuPjKhRmXRCFO63EueaZ2o3nfOz rtl+feOOAJqL+tYLK8aDjqJdyxoQacRS7BKACDMo+IXwVlBqsw1tBiPfWUTB8L6RiZAn RBlxVn1xVbqKHq0WaEp+7+OTR3UOMSdOppZ34uzZaZ2z6hoSvkJt/QLw07fEWioHvg51 vH0Z42AAPiu/VGTUCks7VRDUcJ/SgLt/UoovlgK9fxdho88FXObvqSRSGwJyWRr7E7m+ ZG7Q== ARC-Authentication-Results: i=1; mx.google.com; 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 o5si19627ejn.123.2019.11.12.06.17.11; Tue, 12 Nov 2019 06:17:45 -0800 (PST) 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; 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 S1727149AbfKLOQQ (ORCPT + 99 others); Tue, 12 Nov 2019 09:16:16 -0500 Received: from mx1.unisoc.com ([222.66.158.135]:46123 "EHLO SHSQR01.spreadtrum.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726497AbfKLOQP (ORCPT ); Tue, 12 Nov 2019 09:16:15 -0500 Received: from ig2.spreadtrum.com (bjmbx01.spreadtrum.com [10.0.64.7]) by SHSQR01.spreadtrum.com with ESMTPS id xACEFOFK069216 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO); Tue, 12 Nov 2019 22:15:25 +0800 (CST) (envelope-from lvqiang.huang@unisoc.com) Received: from BJMBX01.spreadtrum.com (10.0.64.7) by BJMBX01.spreadtrum.com (10.0.64.7) with Microsoft SMTP Server (TLS) id 15.0.847.32; Tue, 12 Nov 2019 22:15:07 +0800 Received: from BJMBX01.spreadtrum.com ([fe80::54e:9a:129d:fac7]) by BJMBX01.spreadtrum.com ([fe80::54e:9a:129d:fac7%16]) with mapi id 15.00.0847.030; Tue, 12 Nov 2019 22:14:55 +0800 From: =?gb2312?B?u8bCwMe/IChMdnFpYW5nIEh1YW5nKQ==?= To: Mark-PK Tsai CC: "linux@armlinux.org.uk" , "matthias.bgg@gmail.com" , "kstewart@linuxfoundation.org" , "allison@lohutok.net" , "gregkh@linuxfoundation.org" , "info@metux.net" , "tglx@linutronix.de" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "yj.chiang@mediatek.com" , "alix.wu@mediatek.com" , "mike-sl.lin@mediatek.com" , "eddy.lin@mediatek.com" , "phil.chang@mediatek.com" , =?gb2312?B?s/6298C0IChFbmxhaSBDaHUp?= Subject: Re: [PATCH] ARM: fix race in for_each_frame Thread-Topic: [PATCH] ARM: fix race in for_each_frame Thread-Index: AQHVmV2AMhVdltuogk6mbCoumJ6bbKeHlGHg Date: Tue, 12 Nov 2019 14:14:54 +0000 Message-ID: References: <20191112132937.19335-1-mark-pk.tsai@mediatek.com> In-Reply-To: <20191112132937.19335-1-mark-pk.tsai@mediatek.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MAIL: SHSQR01.spreadtrum.com xACEFOFK069216 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQo+INTaIDIwMTnE6jEx1MIxMsjVo6wyMTozMaOsTWFyay1QSyBUc2FpIDxtYXJrLXBrLnRzYWlA bWVkaWF0ZWsuY29tPiDQtLXAo7oNCj4gDQo+IFRoZSBzdl9wYywgd2hpY2ggaXMgc2F2ZWQgaW4g dGhlIHN0YWNrLCBtYXkgYmUgYW4gaW52YWxpZCBhZGRyZXNzDQo+IGlmIHRoZSB0YXJnZXQgdGhy ZWFkIGlzIHJ1bm5pbmcgb24gYW5vdGhlciBwcm9jZXNzb3IgaW4gdGh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