Message ID | BYAPR11MB2632D4973C567EDF64A6728BFF989@BYAPR11MB2632.namprd11.prod.outlook.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-fsdevel-owner@kernel.org> 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 89336C4332E for <linux-fsdevel@archiver.kernel.org>; Thu, 4 Mar 2021 00:20:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 680D664E59 for <linux-fsdevel@archiver.kernel.org>; Thu, 4 Mar 2021 00:20:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1446892AbhCDATo (ORCPT <rfc822;linux-fsdevel@archiver.kernel.org>); Wed, 3 Mar 2021 19:19:44 -0500 Received: from mail-mw2nam10on2059.outbound.protection.outlook.com ([40.107.94.59]:19905 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S244277AbhCCMQK (ORCPT <rfc822;linux-fsdevel@vger.kernel.org>); Wed, 3 Mar 2021 07:16:10 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EjttPBmJ14Q7INlyRA5Q5ge2dLOlRMfKyR0FFT782k8rflDQL8BGl2Bw6cnjro/0+s9QPel2o1NVdD7f5x6hV/bky6W1UN2KykyxYu3QGLH6bwFSGwKh6NL2GTUTTU0LkaBq4DlwpJxtzlgfsYCuC6GEbTOsN2ucnF2trS6ljShpb3IK8XKsqSj93fhdyxIb58PUNG6HXlxxdaSBw+K5KV/vSXsgacdJlt1dCTq9F9khiSj/5qazbyB2tkMB2brNlDuIrsTK2J3BvRs+Z6faisoc4RXkJvIITloJUXeLyc4Z4QLIO18VkwPz2+DqbGHEdC3Rv6jr/mmSTp4LA06rpQ== 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=5U1KBd0u2+z+daJlvSXRQkqYpJOZi5lf3FfMgolvUdo=; b=Xvbou02/qJvdgh0Z/pL0HCkI1PT4EnY7FtP1VT1PCt4yEbrTqsuarsqcLEw8KhUcAyweJ7YsZ5vAr8Sj2VkPeh6hKsk25JdfqIj92/iHh9WtwoQ40JyhQtiWVpz6t3t3uVe3OkVixROQ3Zkz7YkmKF4U6jszMC1cS7AZ0H8I6H716Wcx8qca7FUOrU9k+lW75DoXEi/GkX+yj2Zg461phTVFhX/SilpyLW5ZkgpCEsSSu83jytcinyCWDHw+dh7+awMek9Y98NqR1exO0CUnRAJyzkje4NhurtU0fUMqwGMTlBmjQeQQXGwBKvGXoJYXjsO/l83TKLSCxbTUf7omBw== 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=5U1KBd0u2+z+daJlvSXRQkqYpJOZi5lf3FfMgolvUdo=; b=octWCJwS7n76vrZsPnjRB4W60s8TUx+XaYdQRRhOhbdbrPnJQWO8rVJvuj9wvFsvP1y7QbYjyCTwFln1JjZacytGCbCJcQfVwa5NjwM/vZbP43k2xLmjSmT5UjURZZjo0nul0M5PH+Nz82fQ/2QJsQWNt+2Uoesig2k3Gxcj4FU= Received: from BYAPR11MB2632.namprd11.prod.outlook.com (2603:10b6:a02:c4::17) by BYAPR11MB3189.namprd11.prod.outlook.com (2603:10b6:a03:7c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Wed, 3 Mar 2021 12:15:16 +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:15:16 +0000 From: "Zhang, Qiang" <Qiang.Zhang@windriver.com> To: Jens Axboe <axboe@kernel.dk>, syzbot <syzbot+28abd693db9e92c160d8@syzkaller.appspotmail.com>, "asml.silence@gmail.com" <asml.silence@gmail.com>, "io-uring@vger.kernel.org" <io-uring@vger.kernel.org>, "linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "syzkaller-bugs@googlegroups.com" <syzkaller-bugs@googlegroups.com>, "viro@zeniv.linux.org.uk" <viro@zeniv.linux.org.uk> Subject: =?eucgb2312_cn?b?u9i4tDogcG9zc2libGUgZGVhZGxvY2sgaW4gaW9fcG9sbF9kb3VibGVf?= =?eucgb2312_cn?b?d2FrZSAoMik=?= Thread-Topic: possible deadlock in io_poll_double_wake (2) Thread-Index: AQHXDWs6oOGJBWdteka1D+n0kQcjUqpuMluAgABWkYCAAmzQgIABNV+i Date: Wed, 3 Mar 2021 12:15:16 +0000 Message-ID: <BYAPR11MB2632D4973C567EDF64A6728BFF989@BYAPR11MB2632.namprd11.prod.outlook.com> References: <000000000000a52fb105bc71e7b8@google.com>,<586d357d-8c4c-8875-3a1c-0599a0a64da0@kernel.dk> In-Reply-To: <586d357d-8c4c-8875-3a1c-0599a0a64da0@kernel.dk> 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: 8691ea63-bef5-4ba3-2d36-08d8de3e017a x-ms-traffictypediagnostic: BYAPR11MB3189: x-microsoft-antispam-prvs: <BYAPR11MB3189EE7585104AD27E68B9C5FF989@BYAPR11MB3189.namprd11.prod.outlook.com> x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qyMpuJdbhmyCO8kDXqXTrPvj6nqjgMUN6dv29NqZKc7KcboRmYPgnRTA1HH/5afSAC5dLUQ7GIK1H5q0cB5y3XdcdqfjT/0Hrpjf0BrwBuXgb8yuoag3z+IYw4JrMRjitVtg1XcdVf8TqHlLHlNQgfut8Te12+aZVn1Wab+D0++ZASuSzVuMhX+EBkZUGXepNgwpaA/ONcsM9FmMCEs6NSrL09YC/tZoLwxY+sL1vpwQtuLpyO3izphjKy3gNszqGB3FvaiY2Qemka9pIIUnxVtRjUxQIyMMPnprawUZYiRZnZ1YxEQdo9CZRN2tQEpwwVeV5dzPkh/2tIlDVGjox2toh4xXqdJ1WBnApM3HfLw2nnDbDS7fdqRPjhPq5z05Vk6plvb/reFwO0vx4prb1LQviogKdiHHOdffFrmMYy0edevpnnlNyO0HpYS0MR0zbZynIxgiDalVQb3WTidD4iDEuakc+6u+MsT2I7Rjh6gO99BbRZxRJUi0rWiIpLtPUrMyqtBbWUPmaGYlFxMaCg== 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)(376002)(366004)(396003)(346002)(136003)(39840400004)(91956017)(66946007)(76116006)(55016002)(5660300002)(6506007)(478600001)(66446008)(66476007)(224303003)(64756008)(66556008)(53546011)(110136005)(2906002)(316002)(7696005)(86362001)(9686003)(33656002)(26005)(8936002)(83380400001)(186003)(71200400001)(52536014);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?eucgb2312_cn?b?Tmh2MGw4Z0kwbDRZR3p5dmczSkdV?= =?eucgb2312_cn?b?dWlKR0lQZmMvVkNNTzdjbFdQMElmQVBXVVIrZTk2SVRhUVNyTlpvb2RkdHpNK0Nz?= =?eucgb2312_cn?b?R3g3RDRqRlovWVBDekJUbzB2QlRYT3crMzVIRXMweFhaN0ZhZmFnRTEzdzhUVWRr?= =?eucgb2312_cn?b?NWRPOEJFbGYraDhvcTZLSjJHQVdWNkxLTStuSHZjekFmOE54TVMzY05CY1czNXJK?= =?eucgb2312_cn?b?Z1RrTVZ4cTBuSWlDS0dZTW1FR3d1MEZOQm5tYndoMzZmS0NYdjdsTXJzSllBV05w?= =?eucgb2312_cn?b?aWozaDFlaFZ3R0daRTFNQ1AzR1JFVXM4b0xrVHEyN3orRit0MHlhZENiMWs3b212?= =?eucgb2312_cn?b?UXNoOERLYUZGZDJlc01GRGhZZXpXV1pKd3RBYjVnUWtaaGtnbXZEeVp1ZTVJK0lC?= =?eucgb2312_cn?b?Z0h2eCtpbEJyeEtHOTZ6Q1ZRUXFjZ2l2b3FiRkpLRjhRMEVLMUQ5aEU2OUVpbGNF?= =?eucgb2312_cn?b?aXY2KytWMlJFVVhIVnorcW9PRUxETkoxeEFnS2NyMGI2cnpGYmtmQTNGWTZEcmVR?= =?eucgb2312_cn?b?YW9hYVdnaUJEYkpIckZLTTVYVnNYYmFSbXErWkZOa3FqUzd3VGt6VlNaU1liUUR3?= =?eucgb2312_cn?b?enNCRzZ5d3ZqT3RNdzdVWUxOZDVsVUxndEpjRTMzRnBvaEhOV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=?eucgb2312_cn?b?bnd6MVUvL1pOY2lIWjRXbDZURENSWmhoT0F4NXdLbHc1R3F0VXRVM1ArbTNrTmRZ?= =?eucgb2312_cn?b?bEhCN1FiWUVIYXVSeUxOM1lFeUFpMUoxYXBuM2tsdnNjNGxGcW5zdUF5bEZVb0d4?= =?eucgb2312_cn?b?djNINmRzZERJdVJ1cUl1TnJsM2JTRyszaVVtRU03RTlJcGp5blpnU3dhdXYxcEdD?= =?eucgb2312_cn?b?UkczRFFCWVpvR2FNYXpUa3dOZUFRWjhVRmhtbVBjVjQwYzM3WHptRm5qVUhiNlV3?= =?eucgb2312_cn?b?NU5JUjY4PQ==?= 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: 8691ea63-bef5-4ba3-2d36-08d8de3e017a X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2021 12:15:16.5608 (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: G7W3tvt7R9tOLQVci5+Ts80HFf6CDo+P9JcjI4nFsiCkGRp7hRSwNbzH2Y9Qr6sradLG3OCW8G7Nbde249c4yuiR7q+sfKkNPe9LH+BS+lM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3189 Precedence: bulk List-ID: <linux-fsdevel.vger.kernel.org> X-Mailing-List: linux-fsdevel@vger.kernel.org |
Series |
回复: possible deadlock in io_poll_double_wake (2)
|
expand
|
diff --git a/fs/io_uring.c b/fs/io_uring.c index 42b675939582..cae605c14510 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -4824,7 +4824,7 @@ static bool io_poll_rewait(struct io_kiocb *req, struct io_poll_iocb *poll) if (!req->result && !READ_ONCE(poll->canceled)) { struct poll_table_struct pt = { ._key = poll->events }; - + poll->head = NULL; req->result = vfs_poll(req->file, &pt) & poll->events; }