Message ID | 1743715309-318-3-git-send-email-haiyangz@microsoft.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF91BC36014 for <linux-mm@archiver.kernel.org>; Thu, 3 Apr 2025 21:23:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 071BF280005; Thu, 3 Apr 2025 17:23:14 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 04686280001; Thu, 3 Apr 2025 17:23:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E0213280005; Thu, 3 Apr 2025 17:23:13 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id C3BD6280001 for <linux-mm@kvack.org>; Thu, 3 Apr 2025 17:23:13 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id DEC595920A for <linux-mm@kvack.org>; Thu, 3 Apr 2025 21:23:14 +0000 (UTC) X-FDA: 83294008308.18.2834042 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2131.outbound.protection.outlook.com [40.107.237.131]) by imf05.hostedemail.com (Postfix) with ESMTP id 3972210000D for <linux-mm@kvack.org>; Thu, 3 Apr 2025 21:23:12 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=microsoft.com header.s=selector2 header.b=Ed45iG6W; dmarc=pass (policy=reject) header.from=microsoft.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); spf=pass (imf05.hostedemail.com: domain of lkmlhyz@microsoft.com designates 40.107.237.131 as permitted sender) smtp.mailfrom=lkmlhyz@microsoft.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1743715392; a=rsa-sha256; cv=pass; b=ho0IhD6GzeX3dj+rw2qnZFe2AWnDOmnD0MLRu4hfkBG28SFgcoVNOaOtwhxC5n+1fWU+fB My/3Q5AeYRgTVRIlKtO3HX6GvIoEokeMlOPpBNCIHz5YXyceIPxl7IXfX/qahnBT/eo9k2 DQ5ZTFDX/IcyFyPvFKR99IOv3aWi75s= ARC-Authentication-Results: i=2; imf05.hostedemail.com; dkim=pass header.d=microsoft.com header.s=selector2 header.b=Ed45iG6W; dmarc=pass (policy=reject) header.from=microsoft.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); spf=pass (imf05.hostedemail.com: domain of lkmlhyz@microsoft.com designates 40.107.237.131 as permitted sender) smtp.mailfrom=lkmlhyz@microsoft.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1743715392; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=GeJkYBd3eZK4xeUd/Ofw9pzkdubHNvaFt1VMAVNkMFc=; b=rJXDzFU+qhYqFPlCGBFQDEBULqO1EW6773FxhKdnYRBeZibdwhYqZ1iNGMJkCeQqPgLzAu UCAGNitHa0Lnt86ibAhR0kHIPLrqmpro/Vq09XYfoGVGI9xND2j3gvB9UTBm2osC6Rng3O cI7fjOZN3NVt0tYvKjQKzVZnFzs0oUU= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qIu611lToOsXLh3IJAZNWlPFXudTnQkhIh7fzxVSGaQwbojwklQp1n6zO4WOfc6si4IxzUDaCq5i5ysatgh+yJvnUrNbmba4bZNS0a3Qh6jTnVCjitSQGgiay4p9lEVdN7+I0/HavBb//1EwpjBDk0nwbzcLtvIDycg6EOko5VpNewtruF+hcKiuslOmWuoc37yvt6ytDq54TkB7JCf+mmy7qPu1SUfLcrf3LsYV3PJtDS6xmbKXw1IiZeUcE92HlblHyhjoQ7O3TpIEtlUVpQvPBsCEJZpmqVVGUmiAzD4pDBcMbIMQ6wvYzf/r5UqYc80gsOp4A60eYkAghYR6Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GeJkYBd3eZK4xeUd/Ofw9pzkdubHNvaFt1VMAVNkMFc=; b=cf3EGmS7ZY6KDGvOqzh7fskxFcGgxrlHqLDccu2sBvIciLBY5IPgMiucfiYxbdLyO4F2W1wjo0/U76g4VwTiRC995YmwMHMqjeagILV9AVeO4abmbgLK2nfmjW35OlgJQiYE54fSGFfSrlq6GWyzvbLpdU33KhHF4KerXxKlTB9XXoITPkQp+55RxKt9rpM7CWl8zF/KaNtHGGcEA47K1cvykHPuDw4mS1W/GucI6L4NEfAtd7sqDL59QnABW6vu40u3J98Uq5R51miWIUCABYKNXdDZOgPig+atgFpRFTuzXmMRDRqnead3Wyn//AW5xPVxUz0UN39krwU2/Z2Vnw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GeJkYBd3eZK4xeUd/Ofw9pzkdubHNvaFt1VMAVNkMFc=; b=Ed45iG6W4QMmDTNR2ulLYTsGAKcTM0UWt8oraX6ahxII9W2MjIScVZqtRKZdBy/M7XW8iWUTezDPufQ9poEEQ7ddvERAC0bJeC+h+RS7ttZoBrPtoB9mOyvJMdCXySwOyybl9PhAmNYUkduDlRlhuXbW2qMm/FrOhFNSAYTp7+g= Received: from DM6PR21MB1451.namprd21.prod.outlook.com (2603:10b6:5:25c::16) by DM4PR21MB3154.namprd21.prod.outlook.com (2603:10b6:8:66::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8632.9; Thu, 3 Apr 2025 21:23:09 +0000 Received: from DM6PR21MB1451.namprd21.prod.outlook.com ([fe80::7a3a:a395:66:b992]) by DM6PR21MB1451.namprd21.prod.outlook.com ([fe80::7a3a:a395:66:b992%4]) with mapi id 15.20.8606.022; Thu, 3 Apr 2025 21:23:09 +0000 From: Haiyang Zhang <haiyangz@microsoft.com> To: linux-hyperv@vger.kernel.org, akpm@linux-foundation.org, corbet@lwn.net, linux-mm@kvack.org, linux-doc@vger.kernel.org Cc: haiyangz@microsoft.com, decui@microsoft.com, kys@microsoft.com, paulros@microsoft.com, olaf@aepfle.de, vkuznets@redhat.com, davem@davemloft.net, wei.liu@kernel.org, longli@microsoft.com, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] docs/mm: Specify page frag size is not bigger than PAGE_SIZE Date: Thu, 3 Apr 2025 14:21:49 -0700 Message-Id: <1743715309-318-3-git-send-email-haiyangz@microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1743715309-318-1-git-send-email-haiyangz@microsoft.com> References: <1743715309-318-1-git-send-email-haiyangz@microsoft.com> Content-Type: text/plain X-ClientProxiedBy: MW4PR03CA0048.namprd03.prod.outlook.com (2603:10b6:303:8e::23) To DM6PR21MB1451.namprd21.prod.outlook.com (2603:10b6:5:25c::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR21MB1451:EE_|DM4PR21MB3154:EE_ X-MS-Office365-Filtering-Correlation-Id: 12eb7694-8344-4544-0517-08dd72f5bb34 X-LD-Processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|52116014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: iGC4KEwLhLPiHcFZ8RKDZbyuAxOHxxXvdM9DnLC73ginRbIn6vEEvK7FKKwfKoF0Fp8GqqcmhIyfw3mAiqT8Qjvoh0PY/dCTS1BlVdiYESn9zkg9/YGiJLhYMdjhp9WQ6cNlP6WEbmdYttc65rvNY8RsycczJQjvUkEzAlI1uaMre2f4nbsSm61N6SyAGKqzsFfLwyQZLIX6mH0Db/o2bOTsBLCB1pNC3x0XNZAHJv3Z6Pde/hqE0v89p8avHU2lQAboYuKVCg7S9830C9FmyqegMA3CzuumhkVhbV8Es1F1Cjlpe34VRo6t9M2zgXD/mbD22AoPouP9qDsX3Ye/lXblmhiDP6lQwdlocVyhCTtUHTgsQY3D4q/U7KXZVqHS5iRqD50MWR94Jg3yj2Ry/9WJbLelvt4OtzvO2lC6bCUJpTiulEvSo31hhJdMPXyp3yMUYUfGt5TDV6lCVqQVuaP1UGpGTA+tsQTTJXIuX/P6tuMxqfYRLz1JEhp23faZJ5Hc1ECUQ9wDr0hPB1Z7vYgVKItMJoP6oTWipx+J3oNVK3vTRgj6EPK0E9GlPhLcy+nNpD0IfQ6YYGXER1OFi0d+g7iui9cHftYToMzHwXqOlKZNtSbIcQ2kyrlw0z1qrBI6Qm86AmSE0Mq37UZYiSdd9FS0pOLsTX1Ze9jSpCsejNNc33Z5eSeEHcZVje2tsSMuq84aNY8PzpDAzllP1FDMlZDWD0/fmlonEO3ztmfiDFRn9dVayaW96aFTMdS1h57xG+j0z7/b7JL9/w+BIv8RGtut05S5MfAvxhK5aYfdUqoCL9WHjEN9GPifRU9RAEfL0i0WZ+Pklpi4wSciTfUO/8ksIsUSuFGInCPjfmxI6SKFmokgUk1DPO+4/xfnNUCDCj4cZv6djoSsmEVH+jEqxygA8njZMerpVH9tW9X2cn/sdinpPHF4q2zgl7TG6HnGPhhKVVKVQuwOZdXWvuPB9M1ikjbBOSNCkLl61IURzWZ//H2S2k6Z75tsV75IqsuLnO75CCK/M0xYhvXcFeS0EFsW77ESaw/0ShXPLI516hX92Bfw6XU3aboAmJRUVhxOQsASbx1UDhUj1Ab4phFkAP0f+Bsf/WUKd6QDdm34LL5OeoZ4uHyqKpgm33pgm+DRLO6/eVesJKPbPPwY58YeHjwyDXhESc6FNti4s1hBRq6pMRqsOLksb7WprbDgGGYf0FjweIbiHXGMTrl44KM47gLW2rmvWBDo4VPaIdZJ/nb4j3B17dvaSKw97qxVdZTatUG7uOWM+Bu9GpeqSUMHZg9PRZXEmB7UKtF6Vha9636kcUiN37rkb15Z1jEodL5bx7JIM/xv1BU2Yihe5iMu/XAYTv9p0dV4I666JjANjGWRNJ1IHD6Vpejf8Quf3JBm8Gn1pX86jI7YaaQm1IFLV2xDDD8Nh941aSe+/ZlxZaaUAwElZ3RZMKPlznlwnHdzXcDDH5NM7zRJFkpL5g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR21MB1451.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(366016)(52116014)(1800799024)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zcjx2Qup2s1xa4IXYraSJnfQK7gMgElbkHWMT9NfZgRt2uLPDSoj8XxhPA0r7okFAp38sCZzK53IEEypL6DeQvi0HOxl6zZ4nL/uUdvyJzNXpT8xU08C5xpRshEPKNGJZ+1ylQ58f6l+HvQHNEYbMrpF1xldAIuKpjxpxhCWd6OwSJH4CwIg0aqO4Tv+ADFDKL0Pvd+22RFkS4ISs1mnOOhGZPckenyjbNLASzf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Bs+tGj7FTFnMed5eZK7FenRuwFpJf0CEUBiwMlLAZRudLuvDBClA5tl4QyAIk4JIuRA5e2Lzyq3njY48D6VPjFBCAwwUVFHtMN/BoO0osPtqXNh47S71QpT6AmmLe39LlOJ1g+kwGgxVAt5ktvqnHe+alGS8c6LxY7UM3yc7LmAZddmhYm+GKvNOMoIqas8SJLOpcFTzfEm2cH5uREL1otjEYpkn0QtUkqRSkcAjTtl/qnzTGk4h07vGAKV4J6Ijwqw1 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12eb7694-8344-4544-0517-08dd72f5bb34 X-MS-Exchange-CrossTenant-AuthSource: DM6PR21MB1451.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2025 21:23:09.1415 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mBWaS1z07ADDckNak7v3KbL2q8nuxLxQnt6RGjjx5jNogWr8L2fF6/Qx7i6G+EwcoecgN3MraZCkJtMweg2RzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR21MB3154 X-Rspam-User: X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 3972210000D X-Stat-Signature: 4u4qwkdjex9csxxgmua9uyzpcym9ytfj X-HE-Tag: 1743715392-753379 X-HE-Meta: U2FsdGVkX197bRSyk1E4vRgytWY+KqmMDAP+KlWdHLs2PxuWDQ0aLCn23Irp/jr27we60TQ+bn2Hgzyk7ZTJ+gH9m1rh3c0QH6WDNG6o13qVKw+Hw9xKf+dNvL77+pA+S/LhTfwv4SUuFdTg+tkJzu7URZPuW4+A6hPvjGDq3LycRBnUXnGMlLFzlbthIxOFYn/VSukwdBnnnV4H1lCrDaFXyjIXbrwbtbHAudIGTC9hqDl4yaL9jnFLAupat0Hx3vQwal2BatohBiLMe0NWK2+JxCpflPczMoquW8CCh+LkPtKzbyUaBDu83kvtPcELm8CNxNmTnTI9ShgyTFMloFrdskHwpnSvALiPbrN43oijrQqgEqJflFC7QGnOHLkfIl+4830lQOw9oYC9ZjZSnNTRhJvcGPfRKUx3iAYf8yAesO6Sma3n1krbfImsGsizix8/HrELRPr/Cmp1jobIIofWX4Jh6QgnKPV5997rMdo5HytcDbbigrWshAlWHx3PNlDQ39YP6LQfWK/Oh4uOrnRrgBqiPkZa6r7Xf+LoyWP+Vfbn8atoJ8V2INIgddmA56/mMbh7i3vrs+TQMZO2urTp6g79LbvCsS9hIshU1h3U409ao+XGbNUdj03TvUcE/8DkYru8fP47t7Mowc59zAh7jguBcxzZq4/YVAn9lLizRBa/KRlMvp6G0w5uckaV2bogsjS+Q1y/R6ZQxUKLkl02RWuEBqmhKq/lhjGbL2bDNvDc0UlUJgHDHfrEwl5O8EQO1IzRG5KbS92QCvgvz8SeyRHEVsZMSE8puo4x4jIIs47Ebrj14uM+LankaDft4u6uDTr6VFQBLEre3F0MbaREibWbuzieEihxM53F1wXR1nYoSVGnnYwpV6zFWzOqtnf9EVOex2dLBtFTmKM7hCR3d+V3Iwi2HQ2DBGfoKzfSNs/ZJi8Z8QxqQjPilkR7l1bSdqXNDUR7U8vElmD rYI1P6Xh WCdBBU6oaGTd2zky9RDh7sN17Bupc4NWXzCC7vatwyztJri2Xk17A9krqc9ruuSXp1LkjZwOw7Svv1tUY3FwfWeHjcAexgP2arIz2Sa8eX0THEiaIGjSDk6mCDfo7I1HKQ5tSlbmT4U3Xtzk= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000181, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
mm: Explicitly check & doc fragsz limit
|
expand
|
diff --git a/Documentation/mm/page_frags.rst b/Documentation/mm/page_frags.rst index 503ca6cdb804..212ecc69dd74 100644 --- a/Documentation/mm/page_frags.rst +++ b/Documentation/mm/page_frags.rst @@ -2,7 +2,7 @@ Page fragments ============== -A page fragment is an arbitrary-length arbitrary-offset area of memory +A page fragment is a len <= PAGE_SIZE, arbitrary-offset area of memory which resides within a 0 or higher order compound page. Multiple fragments within that page are individually refcounted, in the page's reference counter.
The page frag allocator is not designed for fragsz > PAGE_SIZE. Specify this in the document. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> --- Documentation/mm/page_frags.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)