xref: /linux/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleave (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1What:		/sys/kernel/mm/mempolicy/weighted_interleave/
2Date:		January 2024
3Contact:	Linux memory management mailing list <linux-mm@kvack.org>
4Description:	Configuration Interface for the Weighted Interleave policy
5
6What:		/sys/kernel/mm/mempolicy/weighted_interleave/nodeN
7Date:		January 2024
8Contact:	Linux memory management mailing list <linux-mm@kvack.org>
9Description:	Weight configuration interface for nodeN
10
11		The interleave weight for a memory node (N). These weights are
12		utilized by tasks which have set their mempolicy to
13		MPOL_WEIGHTED_INTERLEAVE.
14
15		These weights only affect new allocations, and changes at runtime
16		will not cause migrations on already allocated pages.
17
18		The minimum weight for a node is always 1.
19
20		Minimum weight: 1
21		Maximum weight: 255
22
23		Writing an empty string or `0` will reset the weight to the
24		system default. The system default may be set by the kernel
25		or drivers at boot or during hotplug events.
26