From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F77F1FE46F; Wed, 8 Jan 2025 16:24:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.191 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736353472; cv=none; b=kjadaSWd46+WEwCAwP+0+q6bYEyWsAgAWZm3IdYsqI+JDoaBi17QlbbOB4F/lVX5HF5sd5nQJk0JpdbYSbgn5fGh46zCCAdTEFklchAWrVKk370tkIonemxiMULRE1NQs5Gj326O2QD5CaWm2aX7keRWxJuzmqRQ9gJBMwj1U/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736353472; c=relaxed/simple; bh=0izXUeylTPPB6pOFED07FfZTJc4xNq6BsMjvdQXVAlY=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=tGTqiedENB+pt4I1fXo2oH5kqDsXaTQexGSdZnDa3NEu6SiTfdUCff7w2GisjSXvFw/f7S6BynoCrNbtZd9H3mUGuOGxkPjrAWUzsTDTBRcIhzfhwx/TTZY6SV4lwDT0hTlg69BUTH8jwmR5Y7ZZsuISxtX6HGzfK15DGRmGCsg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.191 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.234]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4YStWn6RqXz1JHGN; Thu, 9 Jan 2025 00:23:33 +0800 (CST) Received: from kwepemd500012.china.huawei.com (unknown [7.221.188.25]) by mail.maildlp.com (Postfix) with ESMTPS id 779C0140159; Thu, 9 Jan 2025 00:24:19 +0800 (CST) Received: from kwepemd500012.china.huawei.com (7.221.188.25) by kwepemd500012.china.huawei.com (7.221.188.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Thu, 9 Jan 2025 00:24:19 +0800 Received: from kwepemd500012.china.huawei.com ([7.221.188.25]) by kwepemd500012.china.huawei.com ([7.221.188.25]) with mapi id 15.02.1258.034; Thu, 9 Jan 2025 00:24:19 +0800 From: lizetao To: Bui Quang Minh CC: Jens Axboe , Pavel Begunkov , "io-uring@vger.kernel.org" , "syzbot+5988142e8a69a67b1418@syzkaller.appspotmail.com" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] io_uring/sqpoll: annotate data race for access in debug check Thread-Topic: [PATCH] io_uring/sqpoll: annotate data race for access in debug check Thread-Index: AQHbYd+rla2mhaKv1kenQH6NEOAxvrMNDeaA Date: Wed, 8 Jan 2025 16:24:19 +0000 Message-ID: <71f1cec18e94459995dfb4bed9a79939@huawei.com> References: <20250108151052.7944-1-minhquangbui99@gmail.com> In-Reply-To: <20250108151052.7944-1-minhquangbui99@gmail.com> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQnVpIFF1YW5nIE1p bmggPG1pbmhxdWFuZ2J1aTk5QGdtYWlsLmNvbT4NCj4gU2VudDogV2VkbmVzZGF5LCBKYW51YXJ5 IDgsIDIwMjUgMTE6M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