From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) (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 A142F1A38E3 for ; Thu, 2 Jan 2025 12:38:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735821533; cv=none; b=M37EODs5BggL+if+M1XwcuTFO0snx2iQAXhDaj+jwadyfVGfbP6Rr/woJ5QYuGjwMZzwatMeWQrsa23iR6lBZssLmw1JaxwP9zb5yR0KGY8lFiERUqlDtjO9ylfxmTx7m+t2VQCxth9dO96MxrDRKP+kD32CaH1DEOh/W1isetw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735821533; c=relaxed/simple; bh=kBFrtIXZcTkUAgGyqaoYAgt3kNXRJzNPWqgLmHdLWS4=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=PflWHYMN8XweCpH2VNr/qpA6LPHrAuUjYPImT7luUBgBb5IJTWsh0fBVbKI6H0Rb877/GRj0pwtTjbFR1/HTl12+P8SS7mscjWVmNjIlK9KTsHQBAkcjhQFPAtkQ4W+jblsjZPxKWo8mo6dqxVFhLEirFSSxLYPxQeTqupOFGgc= 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.188 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.105]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4YP5lh13FZzgbGN; Thu, 2 Jan 2025 20:35:44 +0800 (CST) Received: from kwepemd100011.china.huawei.com (unknown [7.221.188.204]) by mail.maildlp.com (Postfix) with ESMTPS id E183A140382; Thu, 2 Jan 2025 20:38:46 +0800 (CST) Received: from kwepemd500012.china.huawei.com (7.221.188.25) by kwepemd100011.china.huawei.com (7.221.188.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Thu, 2 Jan 2025 20:38:46 +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, 2 Jan 2025 20:38:46 +0800 From: lizetao To: Jens Axboe CC: io-uring Subject: =?utf-8?B?562U5aSNOiBbUEFUQ0ggZm9yLW5leHRdIGlvX3VyaW5nOiBlbnN1cmUgaW9f?= =?utf-8?Q?queue=5Fdeferred()_is_out-of-line?= Thread-Topic: [PATCH for-next] io_uring: ensure io_queue_deferred() is out-of-line Thread-Index: AQHbWxwit1rECkjHTky1CpVJgUVA97MDbx5w Date: Thu, 2 Jan 2025 12:38:46 +0000 Message-ID: <9b1201df8c2d4f8cbe957c57deac2f95@huawei.com> References: In-Reply-To: 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 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmVucyBBeGJvZSA8 YXhib2VAa2VybmVsLmRrPg0KPiBTZW50OiBUdWVzZGF5LCBEZWNlbWJlciAzMSwgMjAyNCA4OjM3 IEFNDQo+IFRvOiBpby11cmluZyA8aW8tdXJpbmdAdmdlci5rZXJuZWwub3JnPg0KPiBTdWJqZWN0 OiBbUEFUQ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