From nobody Mon Nov 25 18:52:37 2024 Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.40]) (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 EC75967A0D; Fri, 25 Oct 2024 07:10:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=63.216.63.40 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729840227; cv=none; b=NPt8Q5Kp1RQHzzjj+Wy738PkEPNCdZ5T1IBFv8hlNbgvMy227ygitTbL9DWsvikXtOqaYhVuvbZGII5jZN2h+bNAUgCXfuBpkSXUzNMP7ZaQkkFz4tN0QXV1mDzVQxsMWRE8sNtnZk4mYENpJp9fqB37uFbxNbRln5HUvA1/IKI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729840227; c=relaxed/simple; bh=YhZ/twzpt382UzbuSD2YmdgBDISklm8md0BzoKMWLoE=; h=Date:Message-ID:Mime-Version:From:To:Cc:Subject:Content-Type; b=RlVwLeIZ6g0qLpkhy9r4wiPF6fOu3bhrRLES1YS9urlgeA9EI9VH/gs1ZrF/OkucdnLdGEhjDMjsu66NHtfcGl3IZ2Z1dk/asqdjK6Q5on2UyLKQ//Hj1IQyoTeaafI960Gz/e8TZDZRLvo1WC39s85vs46BIqCpINK75RnCpFA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zte.com.cn; spf=pass smtp.mailfrom=zte.com.cn; arc=none smtp.client-ip=63.216.63.40 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zte.com.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zte.com.cn Received: from mse-fl2.zte.com.cn (unknown [10.5.228.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxhk.zte.com.cn (FangMail) with ESMTPS id 4XZYnx0N5cz8R042; Fri, 25 Oct 2024 15:10:13 +0800 (CST) Received: from xaxapp01.zte.com.cn ([10.88.99.176]) by mse-fl2.zte.com.cn with SMTP id 49P79v3L088489; Fri, 25 Oct 2024 15:09:57 +0800 (+08) (envelope-from xu.xin16@zte.com.cn) Received: from mapi (xaxapp01[null]) by mapi (Zmail) with MAPI id mid32; Fri, 25 Oct 2024 15:09:59 +0800 (CST) Date: Fri, 25 Oct 2024 15:09:59 +0800 (CST) X-Zmail-TransId: 2af9671b44476f4-4d84b X-Mailer: Zmail v1.0 Message-ID: <20241025150959063tInm4F6ZTyqASNRxU2GIJ@zte.com.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 From: To: , , , , , , Cc: , , , , , , Subject: =?UTF-8?B?W1BBVENIIGxpbnV4LW5leHQgdjhdIERvY3MvemhfQ046IFRyYW5zbGF0ZSBwaHlzaWNhbF9tZW1vcnkucnN0IHRvIFNpbXBsaWZpZWQgQ2hpbmVzZQ==?= Content-Type: text/plain; charset="utf-8" X-MAIL: mse-fl2.zte.com.cn 49P79v3L088489 X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 671B4454.001/4XZYnx0N5cz8R042 Content-Transfer-Encoding: quoted-printable From: Yaxin Wang This patch translates the "physical_memory.rst" document into Simplified Chinese to improve accessibility for Chinese-speaking developers and users. The translation was done with attention to technical accuracy and readability, ensuring that the document remains informative and useful in its translated form. Update to commit 7332f9e45d2e("docs/mm: Physical Memory: Fix grammar") Signed-off-by: Yaxin Wang Signed-off-by: Jiang Kun Reviewed-by: xu xin Reviewed-by: Yanteng Si --- v7->v8: Thanks, Some fixes according to: https://lore.kernel.org/all/87sesl2op0.fsf@trenco.lwn.net/ Changes: 1.add some suffixes "_zh_CN" to some duplicated labels Documentation/translations/zh_CN/mm/index.rst | 1 + .../translations/zh_CN/mm/physical_memory.rst | 356 ++++++++++++++++++ 2 files changed, 357 insertions(+) create mode 100644 Documentation/translations/zh_CN/mm/physical_memory.rst diff --git a/Documentation/translations/zh_CN/mm/index.rst b/Documentation/= translations/zh_CN/mm/index.rst index 960b6d2f3d18..c8726bce8f74 100644 --- a/Documentation/translations/zh_CN/mm/index.rst +++ b/Documentation/translations/zh_CN/mm/index.rst @@ -54,6 +54,7 @@ Linux=E5=86=85=E5=AD=98=E7=AE=A1=E7=90=86=E6=96=87=E6=A1= =A3 page_owner page_table_check page_tables + physical_memory remap_file_pages split_page_table_lock vmalloced-kernel-stacks diff --git a/Documentation/translations/zh_CN/mm/physical_memory.rst b/Docu= mentation/translations/zh_CN/mm/physical_memory.rst new file mode 100644 index 000000000000..4594d15cefec --- /dev/null +++ b/Documentation/translations/zh_CN/mm/physical_memory.rst @@ -0,0 +1,356 @@ +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/mm/physical_memory.rst + +:=E7=BF=BB=E8=AF=91: + + =E7=8E=8B=E4=BA=9A=E9=91=AB Yaxin Wang + +=3D=3D=3D=3D=3D=3D=3D=3D +=E7=89=A9=E7=90=86=E5=86=85=E5=AD=98 +=3D=3D=3D=3D=3D=3D=3D=3D + +Linux=E5=8F=AF=E7=94=A8=E4=BA=8E=E5=A4=9A=E7=A7=8D=E6=9E=B6=E6=9E=84=EF=BC= =8C=E5=9B=A0=E6=AD=A4=E9=9C=80=E8=A6=81=E4=B8=80=E4=B8=AA=E4=B8=8E=E6=9E=B6= =E6=9E=84=E6=97=A0=E5=85=B3=E7=9A=84=E6=8A=BD=E8=B1=A1=E6=9D=A5=E8=A1=A8=E7= =A4=BA=E7=89=A9=E7=90=86=E5=86=85=E5=AD=98=E3=80=82=E6=9C=AC=E7=AB=A0=E6=8F= =8F=E8=BF=B0 +=E4=BA=86=E7=AE=A1=E7=90=86=E8=BF=90=E8=A1=8C=E7=B3=BB=E7=BB=9F=E4=B8=AD= =E7=89=A9=E7=90=86=E5=86=85=E5=AD=98=E7=9A=84=E7=BB=93=E6=9E=84=E3=80=82 + +=E7=AC=AC=E4=B8=80=E4=B8=AA=E4=B8=8E=E5=86=85=E5=AD=98=E7=AE=A1=E7=90=86= =E7=9B=B8=E5=85=B3=E7=9A=84=E4=B8=BB=E8=A6=81=E6=A6=82=E5=BF=B5=E6=98=AF `= =E9=9D=9E=E4=B8=80=E8=87=B4=E6=80=A7=E5=86=85=E5=AD=98=E8=AE=BF=E9=97=AE(NU= MA) +` + +=E5=9C=A8=E5=A4=9A=E6=A0=B8=E5=92=8C=E5=A4=9A=E6=8F=92=E6=A7=BD=E6=9C=BA= =E5=99=A8=E4=B8=AD=EF=BC=8C=E5=86=85=E5=AD=98=E5=8F=AF=E8=83=BD=E8=A2=AB=E7= =BB=84=E7=BB=87=E6=88=90=E4=B8=8D=E5=90=8C=E7=9A=84=E5=AD=98=E5=82=A8=E5=8C= =BA=EF=BC=8C=E8=BF=99=E4=BA=9B=E5=AD=98=E5=82=A8=E5=8C=BA=E6=A0=B9=E6=8D=AE= =E4=B8=8E=E5=A4=84=E7=90=86=E5=99=A8 +=E7=9A=84=E8=B7=9D=E7=A6=BB=E2=80=9C=E4=B8=8D=E5=90=8C=E2=80=9D=E8=80=8C= =E6=9C=89=E4=B8=8D=E5=90=8C=E7=9A=84=E8=AE=BF=E9=97=AE=E5=BC=80=E9=94=80=E3= =80=82=E4=BE=8B=E5=A6=82=EF=BC=8C=E5=8F=AF=E8=83=BD=E4=B8=BA=E6=AF=8F=E4=B8= =AACPU=E5=88=86=E9=85=8D=E5=86=85=E5=AD=98=E5=AD=98=E5=82=A8=E5=8C=BA=EF=BC= =8C=E6=88=96=E8=80=85=E4=B8=BA +=E5=A4=96=E5=9B=B4=E8=AE=BE=E5=A4=87=E5=9C=A8=E9=99=84=E8=BF=91=E5=88=86= =E9=85=8D=E4=B8=80=E4=B8=AA=E9=9D=9E=E5=B8=B8=E9=80=82=E5=90=88DMA=E7=9A=84= =E5=86=85=E5=AD=98=E5=AD=98=E5=82=A8=E5=8C=BA=E3=80=82 + +=E6=AF=8F=E4=B8=AA=E5=AD=98=E5=82=A8=E5=8C=BA=E8=A2=AB=E7=A7=B0=E4=B8=BA= =E4=B8=80=E4=B8=AA=E8=8A=82=E7=82=B9=EF=BC=8C=E8=8A=82=E7=82=B9=E5=9C=A8Lin= ux=E4=B8=AD=E8=A1=A8=E7=A4=BA=E4=B8=BA ``struct pglist_data``=EF=BC=8C +=E5=8D=B3=E4=BD=BF=E6=98=AF=E5=9C=A8UMA=E6=9E=B6=E6=9E=84=E4=B8=AD=E4=B9= =9F=E6=98=AF=E8=BF=99=E6=A0=B7=E8=A1=A8=E7=A4=BA=E3=80=82=E8=AF=A5=E7=BB=93= =E6=9E=84=E6=80=BB=E6=98=AF=E9=80=9A=E8=BF=87 ``pg_data_t`` =E6=9D=A5=E5=BC= =95=E7=94=A8=E3=80=82=E7=89=B9 +=E5=AE=9A=E8=8A=82=E7=82=B9=E7=9A=84 ``pg_data_t`` =E7=BB=93=E6=9E=84=E4= =BD=93=E5=8F=AF=E4=BB=A5=E9=80=9A=E8=BF=87NODE_DATA(nid)=E5=BC=95=E7=94=A8= =EF=BC=8C=E5=85=B6=E4=B8=ADnid=E8=A2=AB=E7=A7=B0 +=E4=B8=BA=E8=AF=A5=E8=8A=82=E7=82=B9=E7=9A=84ID=E3=80=82 + +=E5=AF=B9=E4=BA=8E=E9=9D=9E=E4=B8=80=E8=87=B4=E6=80=A7=E5=86=85=E5=AD=98= =E8=AE=BF=E9=97=AE=EF=BC=88NUMA=EF=BC=89=E6=9E=B6=E6=9E=84=EF=BC=8C=E8=8A= =82=E7=82=B9=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84=E5=9C=A8=E5=BC=95=E5=AF=BC= =E6=97=B6=E7=94=B1=E7=89=B9=E5=AE=9A=E4=BA=8E=E6=9E=B6=E6=9E=84=E7=9A=84=E4= =BB=A3=E7=A0=81=E6=97=A9 +=E6=9C=9F=E5=88=86=E9=85=8D=E3=80=82=E9=80=9A=E5=B8=B8=EF=BC=8C=E8=BF=99= =E4=BA=9B=E7=BB=93=E6=9E=84=E5=9C=A8=E5=85=B6=E6=89=80=E5=9C=A8=E7=9A=84=E5= =86=85=E5=AD=98=E5=8C=BA=E4=B8=8A=E6=9C=AC=E5=9C=B0=E5=88=86=E9=85=8D=E3=80= =82=E5=AF=B9=E4=BA=8E=E4=B8=80=E8=87=B4=E6=80=A7=E5=86=85=E5=AD=98=E8=AE=BF= =E9=97=AE=EF=BC=88UMA=EF=BC=89 +=E6=9E=B6=E6=9E=84=EF=BC=8C=E5=8F=AA=E4=BD=BF=E7=94=A8=E4=B8=80=E4=B8=AA= =E9=9D=99=E6=80=81=E7=9A=84 ``pg_data_t`` =E7=BB=93=E6=9E=84=E4=BD=93=EF=BC= =8C=E7=A7=B0=E4=B8=BA ``contig_page_data``=E3=80=82 +=E8=8A=82=E7=82=B9=E5=B0=86=E4=BC=9A=E5=9C=A8 :ref:`=E8=8A=82=E7=82=B9 ` =E7=AB=A0=E8=8A=82=E4=B8=AD=E8=BF=9B=E4=B8=80=E6=AD=A5=E8=AE=A8=E8=AE= =BA=E3=80=82 + +=E6=95=B4=E4=B8=AA=E7=89=A9=E7=90=86=E5=86=85=E5=AD=98=E8=A2=AB=E5=88=92= =E5=88=86=E4=B8=BA=E4=B8=80=E4=B8=AA=E6=88=96=E5=A4=9A=E4=B8=AA=E8=A2=AB=E7= =A7=B0=E4=B8=BA=E5=8C=BA=E5=9F=9F=E7=9A=84=E5=9D=97=EF=BC=8C=E8=BF=99=E4=BA= =9B=E5=8C=BA=E5=9F=9F=E8=A1=A8=E7=A4=BA=E5=86=85=E5=AD=98=E7=9A=84=E8=8C=83= =E5=9B=B4=E3=80=82=E8=BF=99 +=E4=BA=9B=E8=8C=83=E5=9B=B4=E9=80=9A=E5=B8=B8=E7=94=B1=E8=AE=BF=E9=97=AE= =E5=86=85=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A3=E6=9D=A5=E8=8E=B7=E5=8F=96=E6=BB=A1= =E8=B6=B3=E7=89=B9=E5=AE=9ADMA=E9=9C=80=E6=B1=82=E7=9A=84=E5=86=85=E5=AD=98= =EF=BC=88=E8=BF=99=E4=BA=9B=E6=8E=A5=E5=8F=A3=E7=94=B1 + Documentation/core-api/dma-api.rst =E6=96=87=E6=A1=A3=E6=8F=8F=E8=BF=B0= =EF=BC=89=EF=BC=8C=E4=BD=86=E6=98=AF ``ZONE_DMA`` + =E5=92=8C ``ZONE_DMA32`` =E4=BB=8D=E7=84=B6=E8=A1=A8=E7=A4=BA=E8=AE=BF= =E9=97=AE=E5=8F=97=E9=99=90=E7=9A=84=E5=86=85=E5=AD=98=E8=8C=83=E5=9B=B4=E3= =80=82 + +=E5=8F=96=E5=86=B3=E4=BA=8E=E6=9E=B6=E6=9E=84=E7=9A=84=E4=B8=8D=E5=90=8C= =EF=BC=8C=E8=BF=99=E4=B8=A4=E7=A7=8D=E5=8C=BA=E5=9F=9F=E5=8F=AF=E4=BB=A5=E5= =9C=A8=E6=9E=84=E5=BB=BA=E6=97=B6=E9=80=9A=E8=BF=87=E5=85=B3=E9=97=AD ``CON= FIG_ZONE_DMA`` =E5=92=8C +``CONFIG_ZONE_DMA32`` =E9=85=8D=E7=BD=AE=E9=80=89=E9=A1=B9=E6=9D=A5=E7=A6= =81=E7=94=A8=E3=80=82=E4=B8=80=E4=BA=9B64=E4=BD=8D=E7=9A=84=E5=B9=B3=E5=8F= =B0=E5=8F=AF=E8=83=BD=E9=9C=80=E8=A6=81=E8=BF=99=E4=B8=A4=E7=A7=8D=E5=8C=BA= =E5=9F=9F=EF=BC=8C +=E5=9B=A0=E4=B8=BA=E4=BB=96=E4=BB=AC=E6=94=AF=E6=8C=81=E5=85=B7=E6=9C=89= =E4=B8=8D=E5=90=8CDMA=E5=AF=BB=E5=9D=80=E9=99=90=E5=88=B6=E7=9A=84=E5=A4=96= =E8=AE=BE=E3=80=82 + +* ``ZONE_NORMAL`` =E6=98=AF=E6=99=AE=E9=80=9A=E5=86=85=E5=AD=98=E7=9A=84= =E5=8C=BA=E5=9F=9F=EF=BC=8C=E8=BF=99=E7=A7=8D=E5=86=85=E5=AD=98=E5=8F=AF=E4= =BB=A5=E8=A2=AB=E5=86=85=E6=A0=B8=E9=9A=8F=E6=97=B6=E8=AE=BF=E9=97=AE=E3=80= =82=E5=A6=82=E6=9E=9CDMA + =E8=AE=BE=E5=A4=87=E6=94=AF=E6=8C=81=E5=B0=86=E6=95=B0=E6=8D=AE=E4=BC=A0= =E8=BE=93=E5=88=B0=E6=89=80=E6=9C=89=E5=8F=AF=E5=AF=BB=E5=9D=80=E7=9A=84=E5= =86=85=E5=AD=98=E5=8C=BA=E5=9F=9F=EF=BC=8C=E9=82=A3=E4=B9=88=E5=8F=AF=E5=9C= =A8=E8=AF=A5=E5=8C=BA=E5=9F=9F=E7=9A=84=E9=A1=B5=E9=9D=A2=E4=B8=8A=E6=89=A7= =E8=A1=8CDMA + =E6=93=8D=E4=BD=9C=E3=80=82``ZONE_NORMAL`` =E6=80=BB=E6=98=AF=E5=BC=80= =E5=90=AF=E7=9A=84=E3=80=82 + +* ``ZONE_HIGHMEM`` =E6=98=AF=E6=8C=87=E9=82=A3=E4=BA=9B=E6=B2=A1=E6=9C=89= =E5=9C=A8=E5=86=85=E6=A0=B8=E9=A1=B5=E8=A1=A8=E4=B8=AD=E6=B0=B8=E4=B9=85=E6= =98=A0=E5=B0=84=E7=9A=84=E7=89=A9=E7=90=86=E5=86=85=E5=AD=98=E9=83=A8=E5=88= =86=E3=80=82=E8=AF=A5=E5=8C=BA + =E5=9F=9F=E7=9A=84=E5=86=85=E5=AD=98=E5=8F=AA=E8=83=BD=E9=80=9A=E8=BF=87= =E4=B8=B4=E6=97=B6=E6=98=A0=E5=B0=84=E8=A2=AB=E5=86=85=E6=A0=B8=E8=AE=BF=E9= =97=AE=E3=80=82=E8=AF=A5=E5=8C=BA=E5=9F=9F=E5=8F=AA=E5=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ZONE_MOVABLE``=EF=BC=8C=E5=9C=A8=E5=90=AF=E5=8A=A8=E6=97= =B6=E4=B9=9F=E5=8F=AF + =E4=BB=A5=E4=BD=BF=E7=94=A8 ``kernelcore``=E3=80=81``movablecore`` =E5= =92=8C ``movable_node`` + =E8=BF=99=E4=BA=9B=E5=86=85=E6=A0=B8=E5=91=BD=E4=BB=A4=E8=A1=8C=E5=8F=82= =E6=95=B0=E6=9D=A5=E5=A1=AB=E5=85=85=E3=80=82=E6=9B=B4=E5=A4=9A=E8=AF=A6=E7= =BB=86=E4=BF=A1=E6=81=AF=EF=BC=8C=E8=AF=B7=E5=8F=82=E9=98=85=E5=86=85=E6=A0= =B8=E6=96=87=E6=A1=A3 + Documentation/mm/page_migration.rst =E5=92=8C + Documentation/admin-guide/mm/memory-hotplug.rst=E3=80=82 + +* ``ZONE_DEVICE`` =E8=A1=A8=E7=A4=BA=E4=BD=8D=E4=BA=8E=E6=8C=81=E4=B9=85= =E6=80=A7=E5=86=85=E5=AD=98=EF=BC=88PMEM=EF=BC=89=E5=92=8C=E5=9B=BE=E5=BD= =A2=E5=A4=84=E7=90=86=E5=8D=95=E5=85=83=EF=BC=88GPU=EF=BC=89 + =E7=AD=89=E8=AE=BE=E5=A4=87=E4=B8=8A=E7=9A=84=E5=86=85=E5=AD=98=E3=80=82= =E5=AE=83=E4=B8=8ERAM=E5=8C=BA=E5=9F=9F=E7=B1=BB=E5=9E=8B=E6=9C=89=E4=B8=8D= =E5=90=8C=E7=9A=84=E7=89=B9=E6=80=A7=EF=BC=8C=E5=B9=B6=E4=B8=94=E5=AE=83=E7= =9A=84=E5=AD=98=E5=9C=A8=E6=98=AF=E4=B8=BA=E4=BA=86=E6=8F=90=E4=BE=9B + :ref:`struct page` =E7=BB=93=E6=9E=84=E5=92=8C=E5=86=85=E5=AD=98= =E6=98=A0=E5=B0=84=E6=9C=8D=E5=8A=A1=EF=BC=8C=E4=BB=A5=E4=BE=BF=E8=AE=BE=E5= =A4=87=E9=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A0=B8=E5=91=BD=E4=BB=A4=E8=A1=8C=E4=B8=AD=E7=9A=84=E6=9F=90=E4=BA=9B=E5= =8F=82=E6=95=B0=E5=86=B3=E5=AE=9A=E3=80=82 + +=E4=BE=8B=E5=A6=82=EF=BC=8C=E5=9C=A8=E5=85=B7=E6=9C=892GB RAM=E7=9A=84x86= =E7=BB=9F=E4=B8=80=E5=86=85=E5=AD=98=E6=9E=B6=E6=9E=84=EF=BC=88UMA=EF=BC=89= =E6=9C=BA=E5=99=A8=E4=B8=8A=E8=BF=90=E8=A1=8C32=E4=BD=8D=E5=86=85=E6=A0=B8= =E6=97=B6=EF=BC=8C=E6=95=B4 +=E4=B8=AA=E5=86=85=E5=AD=98=E5=B0=86=E4=BD=8D=E4=BA=8E=E8=8A=82=E7=82=B90= =EF=BC=8C=E5=B9=B6=E4=B8=94=E5=B0=86=E6=9C=89=E4=B8=89=E4=B8=AA=E5=8C=BA=E5= =9F=9F=EF=BC=9A ``ZONE_DMA``=E3=80=81 ``ZONE_NORMAL`` +=E5=92=8C ``ZONE_HIGHMEM``:: + + 0 2G + +-------------------------------------------------------------+ + | node 0 | + +-------------------------------------------------------------+ + + 0 16M 896M 2G + +----------+-----------------------+--------------------------+ + | ZONE_DMA | ZONE_NORMAL | ZONE_HIGHMEM | + +----------+-----------------------+--------------------------+ + + +=E5=9C=A8=E5=86=85=E6=A0=B8=E6=9E=84=E5=BB=BA=E6=97=B6=E5=85=B3=E9=97=AD `= `ZONE_DMA`` =E5=BC=80=E5=90=AF ``ZONE_DMA32``=EF=BC=8C=E5=B9=B6=E4=B8=94=E5= =85=B7=E6=9C=8916GB +RAM=E5=B9=B3=E5=9D=87=E5=88=86=E9=85=8D=E5=9C=A8=E4=B8=A4=E4=B8=AA=E8=8A= =82=E7=82=B9=E4=B8=8A=E7=9A=84arm64=E6=9C=BA=E5=99=A8=E4=B8=8A=EF=BC=8C=E4= =BD=BF=E7=94=A8 ``movablecore=3D80%`` =E5=8F=82=E6=95=B0 +=E5=90=AF=E5=8A=A8=E6=97=B6=EF=BC=8C``ZONE_DMA32``=E3=80=81``ZONE_NORMAL``= =E5=92=8C ``ZONE_MOVABLE`` +=E4=BD=8D=E4=BA=8E=E8=8A=82=E7=82=B90=EF=BC=8C=E8=80=8C ``ZONE_NORMAL`` = =E5=92=8C ``ZONE_MOVABLE`` =E4=BD=8D=E4=BA=8E=E8=8A=82=E7=82=B91:: + + + 1G 9G 17G + +--------------------------------+ +--------------------------+ + | node 0 | | node 1 | + +--------------------------------+ +--------------------------+ + + 1G 4G 4200M 9G 9320M 17G + +---------+----------+-----------+ +------------+-------------+ + | DMA32 | NORMAL | MOVABLE | | NORMAL | MOVABLE | + +---------+----------+-----------+ +------------+-------------+ + + +=E5=86=85=E5=AD=98=E5=AD=98=E5=82=A8=E5=8C=BA=E5=8F=AF=E8=83=BD=E4=BD=8D= =E4=BA=8E=E4=BA=A4=E9=94=99=E7=9A=84=E8=8A=82=E7=82=B9=E3=80=82=E5=9C=A8=E4= =B8=8B=E9=9D=A2=E7=9A=84=E4=BE=8B=E5=AD=90=E4=B8=AD=EF=BC=8C=E4=B8=80=E5=8F= =B0x86=E6=9C=BA=E5=99=A8=E6=9C=8916GB=E7=9A=84RAM=E5=88=86 +=E5=B8=83=E5=9C=A84=E4=B8=AA=E5=86=85=E5=AD=98=E5=AD=98=E5=82=A8=E5=8C=BA= =E4=B8=8A=EF=BC=8C=E5=81=B6=E6=95=B0=E7=BC=96=E5=8F=B7=E7=9A=84=E5=86=85=E5= =AD=98=E5=AD=98=E5=82=A8=E5=8C=BA=E5=B1=9E=E4=BA=8E=E8=8A=82=E7=82=B90=EF= =BC=8C=E5=A5=87=E6=95=B0=E7=BC=96=E5=8F=B7=E7=9A=84=E5=86=85=E5=AD=98=E6=9D= =A1=E5=B1=9E=E4=BA=8E +=E8=8A=82=E7=82=B91:: + + 0 4G 8G 12G 16G + +-------------+ +-------------+ +-------------+ +-------------+ + | node 0 | | node 1 | | node 0 | | node 1 | + +-------------+ +-------------+ +-------------+ +-------------+ + + 0 16M 4G + +-----+-------+ +-------------+ +-------------+ +-------------+ + | DMA | DMA32 | | NORMAL | | NORMAL | | NORMAL | + +-----+-------+ +-------------+ +-------------+ +-------------+ + +=E5=9C=A8=E8=BF=99=E7=A7=8D=E6=83=85=E5=86=B5=E4=B8=8B=EF=BC=8C=E8=8A=82= =E7=82=B90=E5=B0=86=E8=A6=86=E7=9B=96=E4=BB=8E0=E5=88=B012GB=E7=9A=84=E5=86= =85=E5=AD=98=E8=8C=83=E5=9B=B4=EF=BC=8C=E8=80=8C=E8=8A=82=E7=82=B91=E5=B0= =86=E8=A6=86=E7=9B=96=E4=BB=8E4GB=E5=88=B016GB +=E7=9A=84=E5=86=85=E5=AD=98=E8=8C=83=E5=9B=B4=E3=80=82 + +.. _nodes_zh_CN: + +=E8=8A=82=E7=82=B9 +=3D=3D=3D=3D + +=E6=AD=A3=E5=A6=82=E6=88=91=E4=BB=AC=E6=89=80=E6=8F=90=E5=88=B0=E7=9A=84= =EF=BC=8C=E5=86=85=E5=AD=98=E4=B8=AD=E7=9A=84=E6=AF=8F=E4=B8=AA=E8=8A=82=E7= =82=B9=E7=94=B1 ``pg_data_t`` =E6=8F=8F=E8=BF=B0=EF=BC=8C=E9=80=9A=E8=BF=87 +``struct pglist_data`` =E7=BB=93=E6=9E=84=E4=BD=93=E7=9A=84=E7=B1=BB=E5=9E= =8B=E5=AE=9A=E4=B9=89=E3=80=82=E5=9C=A8=E5=88=86=E9=85=8D=E9=A1=B5=E9=9D=A2= =E6=97=B6=EF=BC=8C=E9=BB=98=E8=AE=A4=E6=83=85=E5=86=B5=E4=B8=8B=EF=BC=8CLin= ux +=E4=BD=BF=E7=94=A8=E8=8A=82=E7=82=B9=E6=9C=AC=E5=9C=B0=E5=88=86=E9=85=8D= =E7=AD=96=E7=95=A5=EF=BC=8C=E4=BB=8E=E7=A6=BB=E5=BD=93=E5=89=8D=E8=BF=90=E8= =A1=8CCPU=E7=9A=84=E6=9C=80=E8=BF=91=E8=8A=82=E7=82=B9=E5=88=86=E9=85=8D=E5= =86=85=E5=AD=98=E3=80=82=E7=94=B1=E4=BA=8E=E8=BF=9B=E7=A8=8B=E5=80=BE=E5=90= =91=E4=BA=8E=E5=9C=A8=E5=90=8C +=E4=B8=80=E4=B8=AACPU=E4=B8=8A=E8=BF=90=E8=A1=8C=EF=BC=8C=E5=BE=88=E5=8F= =AF=E8=83=BD=E4=BC=9A=E4=BD=BF=E7=94=A8=E5=BD=93=E5=89=8D=E8=8A=82=E7=82=B9= =E7=9A=84=E5=86=85=E5=AD=98=E3=80=82=E5=88=86=E9=85=8D=E7=AD=96=E7=95=A5=E5= =8F=AF=E4=BB=A5=E7=94=B1=E7=94=A8=E6=88=B7=E6=8E=A7=E5=88=B6=EF=BC=8C=E5=A6= =82=E5=86=85=E6=A0=B8=E6=96=87 +=E6=A1=A3 Documentation/admin-guide/mm/numa_memory_policy.rst =E4=B8=AD=E6= =89=80=E8=BF=B0=E3=80=82 + +=E5=A4=A7=E5=A4=9A=E6=95=B0NUMA=EF=BC=88=E9=9D=9E=E7=BB=9F=E4=B8=80=E5=86= =85=E5=AD=98=E8=AE=BF=E9=97=AE=EF=BC=89=E6=9E=B6=E6=9E=84=E7=BB=B4=E6=8A=A4= =E4=BA=86=E4=B8=80=E4=B8=AA=E6=8C=87=E5=90=91=E8=8A=82=E7=82=B9=E7=BB=93=E6= =9E=84=E7=9A=84=E6=8C=87=E9=92=88=E6=95=B0=E7=BB=84=E3=80=82=E8=BF=99=E4=BA= =9B=E5=AE=9E=E9=99=85 +=E7=9A=84=E7=BB=93=E6=9E=84=E5=9C=A8=E5=90=AF=E5=8A=A8=E8=BF=87=E7=A8=8B= =E4=B8=AD=E7=9A=84=E6=97=A9=E6=9C=9F=E8=A2=AB=E5=88=86=E9=85=8D=EF=BC=8C=E8= =BF=99=E6=97=B6=E7=89=B9=E5=AE=9A=E4=BA=8E=E6=9E=B6=E6=9E=84=E7=9A=84=E4=BB= =A3=E7=A0=81=E8=A7=A3=E6=9E=90=E4=BA=86=E5=9B=BA=E4=BB=B6=E6=8A=A5=E5=91=8A= =E7=9A=84=E7=89=A9=E7=90=86=E5=86=85 +=E5=AD=98=E6=98=A0=E5=B0=84=E3=80=82=E8=8A=82=E7=82=B9=E5=88=9D=E5=A7=8B= =E5=8C=96=E7=9A=84=E5=A4=A7=E9=83=A8=E5=88=86=E5=B7=A5=E4=BD=9C=E6=98=AF=E5= =9C=A8=E7=94=B1free_area_init()=E5=AE=9E=E7=8E=B0=E7=9A=84=E5=90=AF=E5=8A= =A8=E8=BF=87=E7=A8=8B=E4=B9=8B=E5=90=8E +=E5=AE=8C=E6=88=90=EF=BC=8C=E8=AF=A5=E5=87=BD=E6=95=B0=E5=9C=A8=E5=90=8E= =E9=9D=A2=E7=9A=84=E5=B0=8F=E8=8A=82 :ref:`=E5=88=9D=E5=A7=8B=E5=8C=96 ` =E4=B8=AD=E6=9C=89=E8=AF=A6=E7=BB=86=E6=8F=8F=E8=BF=B0=E3=80= =82 + +=E9=99=A4=E4=BA=86=E8=8A=82=E7=82=B9=E7=BB=93=E6=9E=84=EF=BC=8C=E5=86=85= =E6=A0=B8=E8=BF=98=E7=BB=B4=E6=8A=A4=E4=BA=86=E4=B8=80=E4=B8=AA=E5=90=8D=E4= =B8=BA ``node_states`` =E7=9A=84 ``nodemask_t`` +=E4=BD=8D=E6=8E=A9=E7=A0=81=E6=95=B0=E7=BB=84=E3=80=82=E8=BF=99=E4=B8=AA= =E6=95=B0=E7=BB=84=E4=B8=AD=E7=9A=84=E6=AF=8F=E4=B8=AA=E4=BD=8D=E6=8E=A9=E7= =A0=81=E4=BB=A3=E8=A1=A8=E4=B8=80=E7=BB=84=E7=89=B9=E5=AE=9A=E5=B1=9E=E6=80= =A7=E7=9A=84=E8=8A=82=E7=82=B9=EF=BC=8C=E8=BF=99=E4=BA=9B=E5=B1=9E=E6=80=A7= =E7=94=B1 +``enum node_states`` =E5=AE=9A=E4=B9=89=EF=BC=8C=E5=AE=9A=E4=B9=89=E5=A6= =82=E4=B8=8B=EF=BC=9A + +``N_POSSIBLE`` +=E8=8A=82=E7=82=B9=E5=8F=AF=E8=83=BD=E5=9C=A8=E6=9F=90=E4=B8=AA=E6=97=B6= =E5=88=BB=E4=B8=8A=E7=BA=BF=E3=80=82 + +``N_ONLINE`` +=E8=8A=82=E7=82=B9=E5=B7=B2=E7=BB=8F=E4=B8=8A=E7=BA=BF=E3=80=82 + +``N_NORMAL_MEMORY`` +=E8=8A=82=E7=82=B9=E6=8B=A5=E6=9C=89=E6=99=AE=E9=80=9A=E5=86=85=E5=AD=98= =E3=80=82 + +``N_HIGH_MEMORY`` +=E8=8A=82=E7=82=B9=E6=8B=A5=E6=9C=89=E6=99=AE=E9=80=9A=E6=88=96=E9=AB=98= =E7=AB=AF=E5=86=85=E5=AD=98=E3=80=82=E5=BD=93=E5=85=B3=E9=97=AD ``CONFIG_HI= GHMEM`` =E9=85=8D=E7=BD=AE=E6=97=B6=EF=BC=8C +=E4=B9=9F=E5=8F=AF=E4=BB=A5=E7=A7=B0=E4=B8=BA ``N_NORMAL_MEMORY``=E3=80=82 + +``N_MEMORY`` +=E8=8A=82=E7=82=B9=E6=8B=A5=E6=9C=89=EF=BC=88=E6=99=AE=E9=80=9A=E3=80=81= =E9=AB=98=E7=AB=AF=E3=80=81=E5=8F=AF=E7=A7=BB=E5=8A=A8=EF=BC=89=E5=86=85=E5= =AD=98=E3=80=82 + +``N_CPU`` +=E8=8A=82=E7=82=B9=E6=8B=A5=E6=9C=89=E4=B8=80=E4=B8=AA=E6=88=96=E5=A4=9A= =E4=B8=AACPU=E3=80=82 + +=E5=AF=B9=E4=BA=8E=E5=85=B7=E6=9C=89=E4=B8=8A=E8=BF=B0=E5=B1=9E=E6=80=A7= =E7=9A=84=E6=AF=8F=E4=B8=AA=E8=8A=82=E7=82=B9=EF=BC=8C``node_states[]`` +=E6=8E=A9=E7=A0=81=E4=B8=AD=E5=AF=B9=E5=BA=94=E4=BA=8E=E8=8A=82=E7=82=B9ID= =E7=9A=84=E4=BD=8D=E4=BC=9A=E8=A2=AB=E7=BD=AE=E4=BD=8D=E3=80=82 + +=E4=BE=8B=E5=A6=82=EF=BC=8C=E5=AF=B9=E4=BA=8E=E5=85=B7=E6=9C=89=E5=B8=B8= =E8=A7=84=E5=86=85=E5=AD=98=E5=92=8CCPU=E7=9A=84=E8=8A=82=E7=82=B92=EF=BC= =8C=E7=AC=AC=E4=BA=8C=E4=B8=AAbit=E5=B0=86=E8=A2=AB=E8=AE=BE=E7=BD=AE:: + + node_states[N_POSSIBLE] + node_states[N_ONLINE] + node_states[N_NORMAL_MEMORY] + node_states[N_HIGH_MEMORY] + node_states[N_MEMORY] + node_states[N_CPU] + +=E6=9C=89=E5=85=B3=E4=BD=BF=E7=94=A8=E8=8A=82=E7=82=B9=E6=8E=A9=E7=A0=81= =EF=BC=88nodemasks=EF=BC=89=E5=8F=AF=E8=83=BD=E8=BF=9B=E8=A1=8C=E7=9A=84=E5= =90=84=E7=A7=8D=E6=93=8D=E4=BD=9C=EF=BC=8C=E8=AF=B7=E5=8F=82=E8=80=83 +``include/linux/nodemask.h``=E3=80=82 + +=E9=99=A4=E6=AD=A4=E4=B9=8B=E5=A4=96=EF=BC=8C=E8=8A=82=E7=82=B9=E6=8E=A9= =E7=A0=81=EF=BC=88nodemasks=EF=BC=89=E6=8F=90=E4=BE=9B=E7=94=A8=E4=BA=8E=E9= =81=8D=E5=8E=86=E8=8A=82=E7=82=B9=E7=9A=84=E5=AE=8F=EF=BC=8C=E5=8D=B3 +``for_each_node()`` =E5=92=8C ``for_each_online_node()``=E3=80=82 + +=E4=BE=8B=E5=A6=82=EF=BC=8C=E8=A6=81=E4=B8=BA=E6=AF=8F=E4=B8=AA=E5=9C=A8= =E7=BA=BF=E8=8A=82=E7=82=B9=E8=B0=83=E7=94=A8=E5=87=BD=E6=95=B0 foo()=EF=BC= =8C=E5=8F=AF=E4=BB=A5=E8=BF=99=E6=A0=B7=E6=93=8D=E4=BD=9C:: + + for_each_online_node(nid) { + pg_data_t *pgdat =3D NODE_DATA(nid); + + foo(pgdat); + } + +=E8=8A=82=E7=82=B9=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84 +------------ + +=E8=8A=82=E7=82=B9=E7=BB=93=E6=9E=84 ``struct pglist_data`` =E5=9C=A8 ``in= clude/linux/mmzone.h`` +=E4=B8=AD=E5=A3=B0=E6=98=8E=E3=80=82=E8=BF=99=E9=87=8C=E6=88=91=E4=BB=AC= =E5=B0=86=E7=AE=80=E8=A6=81=E6=8F=8F=E8=BF=B0=E8=BF=99=E4=B8=AA=E7=BB=93=E6= =9E=84=E4=BD=93=E7=9A=84=E5=AD=97=E6=AE=B5=EF=BC=9A + +=E9=80=9A=E7=94=A8=E5=AD=97=E6=AE=B5 +~~~~~~~~ + +``node_zones`` +=E8=A1=A8=E7=A4=BA=E8=AF=A5=E8=8A=82=E7=82=B9=E7=9A=84=E5=8C=BA=E5=9F=9F= =E5=88=97=E8=A1=A8=E3=80=82=E5=B9=B6=E9=9D=9E=E6=89=80=E6=9C=89=E5=8C=BA=E5= =9F=9F=E9=83=BD=E5=8F=AF=E8=83=BD=E8=A2=AB=E5=A1=AB=E5=85=85=EF=BC=8C=E4=BD= =86=E8=BF=99=E6=98=AF +=E5=AE=8C=E6=95=B4=E7=9A=84=E5=88=97=E8=A1=A8=E3=80=82=E5=AE=83=E8=A2=AB= =E8=AF=A5=E8=8A=82=E7=82=B9=E7=9A=84node_zonelists=E4=BB=A5=E5=8F=8A=E5=85= =B6=E5=AE=83=E8=8A=82=E7=82=B9=E7=9A=84 +node_zonelists=E5=BC=95=E7=94=A8=E3=80=82 + +``node_zonelists`` +=E8=A1=A8=E7=A4=BA=E6=89=80=E6=9C=89=E8=8A=82=E7=82=B9=E4=B8=AD=E6=89=80= =E6=9C=89=E5=8C=BA=E5=9F=9F=E7=9A=84=E5=88=97=E8=A1=A8=E3=80=82=E6=AD=A4=E5= =88=97=E8=A1=A8=E5=AE=9A=E4=B9=89=E4=BA=86=E5=88=86=E9=85=8D=E5=86=85=E5=AD= =98=E6=97=B6=E9=A6=96=E9=80=89=E7=9A=84=E5=8C=BA=E5=9F=9F +=E9=A1=BA=E5=BA=8F=E3=80=82``node_zonelists`` =E5=9C=A8=E6=A0=B8=E5=BF=83= =E5=86=85=E5=AD=98=E7=AE=A1=E7=90=86=E7=BB=93=E6=9E=84=E5=88=9D=E5=A7=8B=E5= =8C=96=E6=9C=9F=E9=97=B4=EF=BC=8C +=E7=94=B1 ``mm/page_alloc.c`` =E4=B8=AD=E7=9A=84 ``build_zonelists()`` +=E5=87=BD=E6=95=B0=E8=AE=BE=E7=BD=AE=E3=80=82 + +``nr_zones`` +=E8=A1=A8=E7=A4=BA=E6=AD=A4=E8=8A=82=E7=82=B9=E4=B8=AD=E5=B7=B2=E5=A1=AB= =E5=85=85=E5=8C=BA=E5=9F=9F=E7=9A=84=E6=95=B0=E9=87=8F=E3=80=82 + +``node_mem_map`` +=E5=AF=B9=E4=BA=8E=E4=BD=BF=E7=94=A8FLATMEM=E5=86=85=E5=AD=98=E6=A8=A1=E5= =9E=8B=E7=9A=84UMA=E7=B3=BB=E7=BB=9F=EF=BC=8C0=E5=8F=B7=E8=8A=82=E7=82=B9= =E7=9A=84 ``node_mem_map`` +=E8=A1=A8=E7=A4=BA=E6=AF=8F=E4=B8=AA=E7=89=A9=E7=90=86=E5=B8=A7=E7=9A=84st= ruct pages=E6=95=B0=E7=BB=84=E3=80=82 + +``node_page_ext`` +=E5=AF=B9=E4=BA=8E=E4=BD=BF=E7=94=A8FLATMEM=E5=86=85=E5=AD=98=E6=A8=A1=E5= =9E=8B=E7=9A=84UMA=E7=B3=BB=E7=BB=9F=EF=BC=8C0=E5=8F=B7=E8=8A=82=E7=82=B9= =E7=9A=84 ``node_page_ext`` +=E6=98=AFstruct pages=E7=9A=84=E6=89=A9=E5=B1=95=E6=95=B0=E7=BB=84=E3=80= =82=E5=8F=AA=E6=9C=89=E5=9C=A8=E6=9E=84=E5=BB=BA=E6=97=B6=E5=BC=80=E5=90=AF= =E4=BA=86 ``CONFIG_PAGE_EXTENSION`` +=E9=80=89=E9=A1=B9=E7=9A=84=E5=86=85=E6=A0=B8=E4=B8=AD=E6=89=8D=E5=8F=AF= =E7=94=A8=E3=80=82 + +``node_start_pfn`` +=E8=A1=A8=E7=A4=BA=E6=AD=A4=E8=8A=82=E7=82=B9=E4=B8=AD=E8=B5=B7=E5=A7=8B= =E9=A1=B5=E9=9D=A2=E5=B8=A7=E7=9A=84=E9=A1=B5=E9=9D=A2=E5=B8=A7=E5=8F=B7=E3= =80=82 + +``node_present_pages`` +=E8=A1=A8=E7=A4=BA=E6=AD=A4=E8=8A=82=E7=82=B9=E4=B8=AD=E5=AD=98=E5=9C=A8= =E7=9A=84=E7=89=A9=E7=90=86=E9=A1=B5=E9=9D=A2=E7=9A=84=E6=80=BB=E6=95=B0=E3= =80=82 + +``node_spanned_pages`` +=E8=A1=A8=E7=A4=BA=E5=8C=85=E6=8B=AC=E7=A9=BA=E6=B4=9E=E5=9C=A8=E5=86=85= =E7=9A=84=E7=89=A9=E7=90=86=E9=A1=B5=E9=9D=A2=E8=8C=83=E5=9B=B4=E7=9A=84=E6= =80=BB=E5=A4=A7=E5=B0=8F=E3=80=82 + +``node_size_lock`` +=E4=B8=80=E4=B8=AA=E4=BF=9D=E6=8A=A4=E5=AE=9A=E4=B9=89=E8=8A=82=E7=82=B9= =E8=8C=83=E5=9B=B4=E5=AD=97=E6=AE=B5=E7=9A=84=E9=94=81=E3=80=82=E4=BB=85=E5= =9C=A8=E5=BC=80=E5=90=AF=E4=BA=86 ``CONFIG_MEMORY_HOTPLUG`` =E6=88=96 +``CONFIG_DEFERRED_STRUCT_PAGE_INIT`` =E9=85=8D=E7=BD=AE=E9=80=89=E9=A1=B9= =E4=B8=AD=E7=9A=84=E6=9F=90=E4=B8=80=E4=B8=AA=E6=97=B6=E6=89=8D=E5=AE=9A=E4= =B9=89=E3=80=82=E6=8F=90 +=E4=BE=9B=E4=BA=86 ``pgdat_resize_lock()`` =E5=92=8C ``pgdat_resize_unlock= ()`` =E7=94=A8=E6=9D=A5=E6=93=8D=E4=BD=9C +``node_size_lock``=EF=BC=8C=E8=80=8C=E6=97=A0=E9=9C=80=E6=A3=80=E6=9F=A5 `= `CONFIG_MEMORY_HOTPLUG`` =E6=88=96 +``CONFIG_DEFERRED_STRUCT_PAGE_INIT`` =E9=80=89=E9=A1=B9=E3=80=82 + +``node_id`` +=E8=8A=82=E7=82=B9=E7=9A=84=E8=8A=82=E7=82=B9ID=EF=BC=88NID=EF=BC=89=EF=BC= =8C=E4=BB=8E0=E5=BC=80=E5=A7=8B=E3=80=82 + +``totalreserve_pages`` +=E8=BF=99=E6=98=AF=E6=AF=8F=E4=B8=AA=E8=8A=82=E7=82=B9=E4=BF=9D=E7=95=99= =E7=9A=84=E9=A1=B5=E9=9D=A2=EF=BC=8C=E8=BF=99=E4=BA=9B=E9=A1=B5=E9=9D=A2=E4= =B8=8D=E5=8F=AF=E7=94=A8=E4=BA=8E=E7=94=A8=E6=88=B7=E7=A9=BA=E9=97=B4=E5=88= =86=E9=85=8D=E3=80=82 + +``first_deferred_pfn`` +=E5=A6=82=E6=9E=9C=E5=A4=A7=E5=9E=8B=E6=9C=BA=E5=99=A8=E4=B8=8A=E7=9A=84= =E5=86=85=E5=AD=98=E5=88=9D=E5=A7=8B=E5=8C=96=E8=A2=AB=E6=8E=A8=E8=BF=9F=EF= =BC=8C=E9=82=A3=E4=B9=88=E7=AC=AC=E4=B8=80=E4=B8=AAPFN=EF=BC=88=E9=A1=B5=E5= =B8=A7=E5=8F=B7=EF=BC=89=E6=98=AF=E9=9C=80=E8=A6=81=E5=88=9D=E5=A7=8B=E5=8C= =96=E7=9A=84=E3=80=82 +=E5=9C=A8=E5=BC=80=E5=90=AF=E4=BA=86 ``CONFIG_DEFERRED_STRUCT_PAGE_INIT`` = =E9=80=89=E9=A1=B9=E6=97=B6=E5=AE=9A=E4=B9=89=E3=80=82 + +``deferred_split_queue`` +=E6=AF=8F=E4=B8=AA=E8=8A=82=E7=82=B9=E7=9A=84=E5=A4=A7=E9=A1=B5=E9=98=9F= =E5=88=97=EF=BC=8C=E8=BF=99=E4=BA=9B=E5=A4=A7=E9=A1=B5=E7=9A=84=E6=8B=86=E5= =88=86=E8=A2=AB=E6=8E=A8=E8=BF=9F=E4=BA=86=E3=80=82=E4=BB=85=E5=9C=A8=E5=BC= =80=E5=90=AF=E4=BA=86 ``CONFIG_TRANSPARENT_HUGEPAGE`` +=E9=85=8D=E7=BD=AE=E9=80=89=E9=A1=B9=E6=97=B6=E5=AE=9A=E4=B9=89=E3=80=82 + +``__lruvec`` +=E6=AF=8F=E4=B8=AA=E8=8A=82=E7=82=B9=E7=9A=84lruvec=E6=8C=81=E6=9C=89LRU= =EF=BC=88=E6=9C=80=E8=BF=91=E6=9C=80=E5=B0=91=E4=BD=BF=E7=94=A8=EF=BC=89=E5= =88=97=E8=A1=A8=E5=92=8C=E7=9B=B8=E5=85=B3=E5=8F=82=E6=95=B0=E3=80=82=E4=BB= =85=E5=9C=A8=E7=A6=81=E7=94=A8=E4=BA=86=E5=86=85=E5=AD=98 +=E6=8E=A7=E5=88=B6=E7=BB=84=EF=BC=88cgroups=EF=BC=89=E6=97=B6=E4=BD=BF=E7= =94=A8=E3=80=82=E5=AE=83=E4=B8=8D=E5=BA=94=E8=AF=A5=E7=9B=B4=E6=8E=A5=E8=AE= =BF=E9=97=AE=EF=BC=8C=E8=80=8C=E5=BA=94=E8=AF=A5=E4=BD=BF=E7=94=A8 ``mem_cg= roup_lruvec()`` +=E6=9D=A5=E6=9F=A5=E6=89=BElruvecs=E3=80=82 + +=E5=9B=9E=E6=94=B6=E6=8E=A7=E5=88=B6 +~~~~~~~~ + +=E5=8F=A6=E8=A7=81=E5=86=85=E6=A0=B8=E6=96=87=E6=A1=A3 Documentation/mm/pa= ge_reclaim.rst =E6=96=87=E4=BB=B6=E3=80=82 + +``kswapd`` +=E6=AF=8F=E4=B8=AA=E8=8A=82=E7=82=B9=E7=9A=84kswapd=E5=86=85=E6=A0=B8=E7= =BA=BF=E7=A8=8B=E5=AE=9E=E4=BE=8B=E3=80=82 + +``kswapd_wait``, ``pfmemalloc_wait``, ``reclaim_wait`` +=E5=90=8C=E6=AD=A5=E5=86=85=E5=AD=98=E5=9B=9E=E6=94=B6=E4=BB=BB=E5=8A=A1= =E7=9A=84=E5=B7=A5=E4=BD=9C=E9=98=9F=E5=88=97=E3=80=82 + +``nr_writeback_throttled`` +=E7=AD=89=E5=BE=85=E5=86=99=E5=9B=9E=E8=84=8F=E9=A1=B5=E6=97=B6=EF=BC=8C= =E8=A2=AB=E9=99=90=E5=88=B6=E7=9A=84=E4=BB=BB=E5=8A=A1=E6=95=B0=E9=87=8F=E3= =80=82 + +``kswapd_order`` +=E6=8E=A7=E5=88=B6kswapd=E5=B0=9D=E8=AF=95=E5=9B=9E=E6=94=B6=E7=9A=84order= =E3=80=82 + +``kswapd_highest_zoneidx`` +kswapd=E7=BA=BF=E7=A8=8B=E5=8F=AF=E4=BB=A5=E5=9B=9E=E6=94=B6=E7=9A=84=E6= =9C=80=E9=AB=98=E5=8C=BA=E5=9F=9F=E7=B4=A2=E5=BC=95=E3=80=82 + +``kswapd_failures`` +kswapd=E6=97=A0=E6=B3=95=E5=9B=9E=E6=94=B6=E4=BB=BB=E4=BD=95=E9=A1=B5=E9= =9D=A2=E7=9A=84=E8=BF=90=E8=A1=8C=E6=AC=A1=E6=95=B0=E3=80=82 + +``min_unmapped_pages`` +=E6=97=A0=E6=B3=95=E5=9B=9E=E6=94=B6=E7=9A=84=E6=9C=AA=E6=98=A0=E5=B0=84= =E6=96=87=E4=BB=B6=E6=94=AF=E6=8C=81=E7=9A=84=E6=9C=80=E5=B0=8F=E9=A1=B5=E9= =9D=A2=E6=95=B0=E9=87=8F=E3=80=82=E7=94=B1 ``vm.min_unmapped_ratio`` +=E7=B3=BB=E7=BB=9F=E6=8E=A7=E5=88=B6=E5=8F=B0=EF=BC=88sysctl=EF=BC=89=E5= =8F=82=E6=95=B0=E5=86=B3=E5=AE=9A=E3=80=82=E5=9C=A8=E5=BC=80=E5=90=AF ``CON= FIG_NUMA`` =E9=85=8D=E7=BD=AE=E6=97=B6=E5=AE=9A=E4=B9=89=E3=80=82 + +``min_slab_pages`` +=E6=97=A0=E6=B3=95=E5=9B=9E=E6=94=B6=E7=9A=84SLAB=E9=A1=B5=E9=9D=A2=E7=9A= =84=E6=9C=80=E5=B0=91=E6=95=B0=E9=87=8F=E3=80=82=E7=94=B1 ``vm.min_slab_rat= io`` =E7=B3=BB=E7=BB=9F=E6=8E=A7=E5=88=B6=E5=8F=B0 +=EF=BC=88sysctl=EF=BC=89=E5=8F=82=E6=95=B0=E5=86=B3=E5=AE=9A=E3=80=82=E5= =9C=A8=E5=BC=80=E5=90=AF ``CONFIG_NUMA`` =E6=97=B6=E5=AE=9A=E4=B9=89=E3=80= =82 + +``flags`` +=E6=8E=A7=E5=88=B6=E5=9B=9E=E6=94=B6=E8=A1=8C=E4=B8=BA=E7=9A=84=E6=A0=87= =E5=BF=97=E4=BD=8D=E3=80=82 + +=E5=86=85=E5=AD=98=E5=8E=8B=E7=BC=A9=E6=8E=A7=E5=88=B6 +~~~~~~~~~~~~ + +``kcompactd_max_order`` +kcompactd=E5=BA=94=E5=B0=9D=E8=AF=95=E5=AE=9E=E7=8E=B0=E7=9A=84=E9=A1=B5= =E9=9D=A2order=E3=80=82 + +``kcompactd_highest_zoneidx`` +kcompactd=E5=8F=AF=E4=BB=A5=E5=8E=8B=E7=BC=A9=E7=9A=84=E6=9C=80=E9=AB=98= =E5=8C=BA=E5=9F=9F=E7=B4=A2=E5=BC=95=E3=80=82 + +``kcompactd_wait`` +=E5=90=8C=E6=AD=A5=E5=86=85=E5=AD=98=E5=8E=8B=E7=BC=A9=E4=BB=BB=E5=8A=A1= =E7=9A=84=E5=B7=A5=E4=BD=9C=E9=98=9F=E5=88=97=E3=80=82 + +``kcompactd`` +=E6=AF=8F=E4=B8=AA=E8=8A=82=E7=82=B9=E7=9A=84kcompactd=E5=86=85=E6=A0=B8= =E7=BA=BF=E7=A8=8B=E5=AE=9E=E4=BE=8B=E3=80=82 + +``proactive_compact_trigger`` +=E5=86=B3=E5=AE=9A=E6=98=AF=E5=90=A6=E4=BD=BF=E7=94=A8=E4=B8=BB=E5=8A=A8= =E5=8E=8B=E7=BC=A9=E3=80=82=E7=94=B1 ``vm.compaction_proactiveness`` =E7=B3= =BB=E7=BB=9F=E6=8E=A7 +=E5=88=B6=E5=8F=B0=EF=BC=88sysctl=EF=BC=89=E5=8F=82=E6=95=B0=E6=8E=A7=E5= =88=B6=E3=80=82 + +=E7=BB=9F=E8=AE=A1=E4=BF=A1=E6=81=AF +~~~~~~~~ + +``per_cpu_nodestats`` +=E8=A1=A8=E7=A4=BA=E8=8A=82=E7=82=B9=E7=9A=84Per-CPU=E8=99=9A=E6=8B=9F=E5= =86=85=E5=AD=98=E7=BB=9F=E8=AE=A1=E4=BF=A1=E6=81=AF=E3=80=82 + +``vm_stat`` +=E8=A1=A8=E7=A4=BA=E8=8A=82=E7=82=B9=E7=9A=84=E8=99=9A=E6=8B=9F=E5=86=85= =E5=AD=98=E7=BB=9F=E8=AE=A1=E6=95=B0=E6=8D=AE=E3=80=82 + +.. _zones_zh_CN: + +=E5=8C=BA=E5=9F=9F +=3D=3D=3D=3D + +.. admonition:: Stub + + =E6=9C=AC=E8=8A=82=E5=86=85=E5=AE=B9=E4=B8=8D=E5=AE=8C=E6=95=B4=E3=80=82= =E8=AF=B7=E5=88=97=E5=87=BA=E5=B9=B6=E6=8F=8F=E8=BF=B0=E7=9B=B8=E5=BA=94=E7= =9A=84=E5=AD=97=E6=AE=B5=E3=80=82 + +.. _pages_zh_CN: + +=E9=A1=B5 +=3D=3D=3D=3D + +.. admonition:: Stub + + =E6=9C=AC=E8=8A=82=E5=86=85=E5=AE=B9=E4=B8=8D=E5=AE=8C=E6=95=B4=E3=80=82= =E8=AF=B7=E5=88=97=E5=87=BA=E5=B9=B6=E6=8F=8F=E8=BF=B0=E7=9B=B8=E5=BA=94=E7= =9A=84=E5=AD=97=E6=AE=B5=E3=80=82 + +.. _folios_zh_CN: + +=E9=A1=B5=E7=A0=81 +=3D=3D=3D=3D + +.. admonition:: Stub + + =E6=9C=AC=E8=8A=82=E5=86=85=E5=AE=B9=E4=B8=8D=E5=AE=8C=E6=95=B4=E3=80=82= =E8=AF=B7=E5=88=97=E5=87=BA=E5=B9=B6=E6=8F=8F=E8=BF=B0=E7=9B=B8=E5=BA=94=E7= =9A=84=E5=AD=97=E6=AE=B5=E3=80=82 + +.. _initialization_zh_CN: + +=E5=88=9D=E5=A7=8B=E5=8C=96 +=3D=3D=3D=3D=3D=3D + +.. admonition:: Stub + + =E6=9C=AC=E8=8A=82=E5=86=85=E5=AE=B9=E4=B8=8D=E5=AE=8C=E6=95=B4=E3=80=82= =E8=AF=B7=E5=88=97=E5=87=BA=E5=B9=B6=E6=8F=8F=E8=BF=B0=E7=9B=B8=E5=BA=94=E7= =9A=84=E5=AD=97=E6=AE=B5=E3=80=82 --=20 2.27.0