From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.6 required=3.0 tests=BAYES_00, CHARSET_FARAWAY_HEADER,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D267DC4332E for ; Thu, 4 Mar 2021 00:24:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B3F1364F02 for ; Thu, 4 Mar 2021 00:24:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244277AbhCDAYO (ORCPT ); Wed, 3 Mar 2021 19:24:14 -0500 Received: from mail-dm6nam11on2065.outbound.protection.outlook.com ([40.107.223.65]:31072 "EHLO NAM11-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S238746AbhCCMq0 (ORCPT ); Wed, 3 Mar 2021 07:46:26 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XdKt5SdJ4xc04GpHjkaq8MYpJ5/BUGTYFqV5CCFpVPbHB7Ge+FYt72pkYFqFQ3FOaeovxowKm3yBRMesm2C9QqEs2Ckne307W/StxLvGmjI8EJa49qjFQCADBdoBBDWFczcrzG+hg5pvqmEkxh+2FkdpTtzDraT9VwqltZ9C/F4vDMPo+W/Xm3d6gjKzlYKqTkrq2451Ot7E4OLcgsjad2gRqs8taYBzR1KArbEhKn2Z6CLAf+LizB1hZf/5Uo35mblCWIuzkdGsEMQIze6e8wCJUHehPtDvYsBhKr1JYx7mpGGyGE+Wbp4U58MvcAvJB4q59CXGiaF9w9FfehKe3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k0A5U7knXA9j7h7Ia+B4z/jzrCVidvM3cu/NXDPVHEs=; b=Tgfkq5GcSI+jGXHlDJt2h30FTyfbA117Phanxh77mqtvpPgzc74BL6opJbLhW0T+hjUFDja6G4Khp412Vx5IpFg0dSEwYxHXP07qTTgV3vI7tQ8w2UqIF3r29eM+RaYTNCbHnA+FKMrUo92OUl0V2ZJabIE8pxKZqC0EQzSv8ZY3ZolZLvU4WX/acXBq0dmHxrXDEf5A9LzexPrVjubfZrcSrojx7LpdI7r1IQ4E9uCccgTAXZfk0ldkLdhX+hAyJYejWhGotT4+QdWjNZfx+iT4Tw/F/RwzWW2Bynbgfof50mmE+hXcSKHCyTrx0o5bZQpHsebqSk5BJRfaSP1kzQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriversystems.onmicrosoft.com; s=selector2-windriversystems-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k0A5U7knXA9j7h7Ia+B4z/jzrCVidvM3cu/NXDPVHEs=; b=cDLmY+r+Iau+o3R+/ZbT2x3Wum7rgf2qbxXErQkCspy/Dy/u+nOudRHqKTACbQXTVG/WG2ygXqqrVxS4aNSJa5hyDvLNdVCJzVEGoecFOLHaeRkWg8hAhCck1OYOKPdBm3TWBAdAiv71MViJ0T6TjUa6SFlxhD/Q4O/JI1k2eZo= Received: from BYAPR11MB2632.namprd11.prod.outlook.com (2603:10b6:a02:c4::17) by BY5PR11MB4484.namprd11.prod.outlook.com (2603:10b6:a03:1c3::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.28; Wed, 3 Mar 2021 12:45:10 +0000 Received: from BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::89a3:42c3:6509:4acd]) by BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::89a3:42c3:6509:4acd%4]) with mapi id 15.20.3890.029; Wed, 3 Mar 2021 12:45:10 +0000 From: "Zhang, Qiang" To: Jens Axboe , syzbot , "asml.silence@gmail.com" , "io-uring@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "syzkaller-bugs@googlegroups.com" , "viro@zeniv.linux.org.uk" Subject: =?gb2312?B?u9i4tDogcG9zc2libGUgZGVhZGxvY2sgaW4gaW9fcG9sbF9kb3VibGVfd2Fr?= =?gb2312?Q?e_(2)?= Thread-Topic: possible deadlock in io_poll_double_wake (2) Thread-Index: AQHXDWs6oOGJBWdteka1D+n0kQcjUqpuMluAgABWkYCAAmzQgIABNV+igAAPPw0= Date: Wed, 3 Mar 2021 12:45:10 +0000 Message-ID: References: <000000000000a52fb105bc71e7b8@google.com>,<586d357d-8c4c-8875-3a1c-0599a0a64da0@kernel.dk>, In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.dk; dkim=none (message not signed) header.d=none;kernel.dk; dmarc=none action=none header.from=windriver.com; x-originating-ip: [106.39.148.172] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 95778b52-2810-41a5-2e81-08d8de422ece x-ms-traffictypediagnostic: BY5PR11MB4484: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: c4MIoFlbl3+c42fLZp9tCGOWqVvQ6cahpkRMNr7sHlG6Vx/sU4Z79OqzANneFCjLuo9H/Zo5Rp+t8KNJ8/KEMHtyUMpqTh/leRBiP3D6807OQAR573+UmaMi6lAo8jfLzAZNdMS0WepIX8Iks/HqwuOH/ptod6Dk/N88cPx2d9MYj2V4sd31DGSJm83igTVS9xE7+dqYa7SmltaLXYY1f9uZXcgNosh/pxd0nZiUr2VqegU/+SeForH+fLgg6oh55zlOkFXefL3jj5ojZ+Zix+sqnyUqJrej6Y78jyJ4pdDzn9m6vBvsBQy6tQrECTyy6Hl+zlGZ8SNhGXBz5yMGbOkoqg1QVOOsoqSKRmmbAgybYhWdVziF7eaT1z2rNUmLWWBZQSA/WV9RghzI0ePJgqtdARSgyYsvd3LYLAUDxswcATQkBbuYZH5iU2iSPvsV4WhXy1PewMvOkTq4mIoTyrfpbq8FZu/oFGAeTpKqbOmwgAVYCuFYvAq6nthlAmdpxAHRTAwedzjFCPRSoC3KYQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB2632.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(376002)(39850400004)(366004)(136003)(396003)(91956017)(9686003)(6506007)(86362001)(2906002)(55016002)(8936002)(83380400001)(71200400001)(53546011)(224303003)(52536014)(478600001)(5660300002)(316002)(33656002)(110136005)(64756008)(66446008)(66476007)(7696005)(2940100002)(66946007)(66556008)(186003)(76116006)(26005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?gb2312?B?MTFhclpmSVZyWVNjTUM0NTRxaFBBS3VURHVMbFdDVHphUlYyblpwVitLVHZr?= =?gb2312?B?ZjR4enFmakw3UVpCUUkwZnlwYVc4aWR2VDA4RmxzS2RWUnJQMDI2L21JbjJz?= =?gb2312?B?Q1IwK2hMczAzU0llNUhCV0lmMjVhc291c01GVEJQKy9zU09hWnV2Vi9BdW9G?= =?gb2312?B?QTlaVFBoRVlJMGJhV3YrVWEyMmc0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V0TklrbS9sWE01YmZOVUI5ZkIxYnI0VXh1R0MwTStEM0pDVXpM?= =?gb2312?B?anNuTmhZa05KNWJRRTFadjQzR2RBakh4Tm8xUXlkVU1ZbDVnSkdMc0dNWWlm?= =?gb2312?B?eXNmOFM3R3dvdytxeVYxMVM1VnpLTTJFQWExenhpOGJwdnZpUXhmWEVCYkcz?= =?gb2312?B?VkFrUnMvQWFtejM3ZDNaWTRSdGZpNUtBNFpJNDlDbWgrWGcvZWJCcDVnK29j?= =?gb2312?B?eWY3UVlvak9kNUVPQ00vUjMvQ1FDaTRVcGVQK1Q4WG00N0l1aUZtV2pybU9W?= =?gb2312?B?akhkbi9yVzFjRTlhTUhZeXJwWWFDMDlrRnJyUFpTYVJUd2t4dnJkLzZSVElH?= =?gb2312?B?VitVN2R5cThiMVVCdW1pckZFL1BzQXJobklVNFRJYXRqTms0L1NSNE04VjR4?= =?gb2312?B?UGVRNTRKREFweWNNWWxOTDRSaXJLK2k0YXo3alVmS0ROKytac05HbTBGNUVK?= =?gb2312?B?M084N043NmRUTGlXQ3ZCdGRYMFlMQm5oaEh4UnVDVlRWbGhZeFpVSis1RkZE?= =?gb2312?B?WlpqYWNtdSsrbHpaZnJjNkRlTVJKUUFiZ2liQ0JvWmFDNGdjcDR5ckxKRUNO?= =?gb2312?B?SU9qaUV0UjZvMXNUWFFPSXFET0g2NFZaYllqRG5XOUxKRXNCbFBneUlnS0dL?= =?gb2312?Q?nzCeS1SnvoZyFh87hM=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2632.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95778b52-2810-41a5-2e81-08d8de422ece X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2021 12:45:10.6467 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0pi0C+s80bGss3KKm4Wzwj7OI8V9FLQrI07WZDVRMZtatKA9rQz6RrP3/+c5GBtWFo2rGxsU3Ow/FJdeffbExYq1ZuwH/TDFf5xxUYpwnR4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4484 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org CgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCreivP7IyzogWmhhbmcs IFFpYW5nIDxRaWFuZy5aaGFuZ0B3aW5kcml2ZXIuY29tPgq3osvNyrG85DogMjAyMcTqM9TCM8jV IDIwOjE1CsrVvP7IyzogSmVucyBBeGJvZTsgc3l6Ym90OyBhc21sLnNpbGVuY2VAZ21haWwuY29t OyBpby11cmluZ0B2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LWZzZGV2ZWxAdmdlci5rZXJuZWwub3Jn OyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnOyBzeXprYWxsZXItYnVnc0Bnb29nbGVncm91 cHMuY29tOyB2aXJvQHplbml2LmxpbnV4Lm9yZy51awrW98ziOiC72Li0OiBwb3NzaWJsZSBkZWFk bG9jayBpbiBpb19wb2xsX2RvdWJsZV93YWtlICgyKQoKCgpfX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fCreivP7IyzogSmVucyBBeGJvZSA8YXhib2VAa2VybmVsLmRrPgq3 osvNyrG85DogMjAyMcTqM9TCM8jVIDE6MjAKytW8/sjLOiBzeXpib3Q7IGFzbWwuc2lsZW5jZUBn bWFpbC5jb207IGlvLXVyaW5nQHZnZXIua2VybmVsLm9yZzsgbGludXgtZnNkZXZlbEB2Z2VyLmtl cm5lbC5vcmc7IGxpbnV4LWtlcm5lbEB2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