summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleave
blob: 0b7972de04e9392b0a56bbb5d1e0a8b963fa3d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
What:		/sys/kernel/mm/mempolicy/weighted_interleave/
Date:		January 2024
Contact:	Linux memory management mailing list <linux-mm@kvack.org>
Description:	Configuration Interface for the Weighted Interleave policy

What:		/sys/kernel/mm/mempolicy/weighted_interleave/nodeN
Date:		January 2024
Contact:	Linux memory management mailing list <linux-mm@kvack.org>
Description:	Weight configuration interface for nodeN

		The interleave weight for a memory node (N). These weights are
		utilized by tasks which have set their mempolicy to
		MPOL_WEIGHTED_INTERLEAVE.

		These weights only affect new allocations, and changes at runtime
		will not cause migrations on already allocated pages.

		The minimum weight for a node is always 1.

		Minimum weight: 1
		Maximum weight: 255

		Writing an empty string or `0` will reset the weight to the
		system default. The system default may be set by the kernel
		or drivers at boot or during hotplug events.