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