ppc-memtrace (cf40a76e7d5874bb25f4404eecc58a2e033af885) | ppc-memtrace (24576a70e7dfa703617a5e7ae8e6cbd66cfb6e5d) |
---|---|
1What: /sys/kernel/debug/powerpc/memtrace 2Date: Aug 2017 3KernelVersion: 4.14 4Contact: linuxppc-dev@lists.ozlabs.org 5Description: This folder contains the relevant debugfs files for the 6 hardware trace macro to use. CONFIG_PPC64_HARDWARE_TRACING 7 must be set. 8 9What: /sys/kernel/debug/powerpc/memtrace/enable 10Date: Aug 2017 11KernelVersion: 4.14 12Contact: linuxppc-dev@lists.ozlabs.org 13Description: Write an integer containing the size in bytes of the memory 14 you want removed from each NUMA node to this file - it must be 15 aligned to the memblock size. This amount of RAM will be removed | 1What: /sys/kernel/debug/powerpc/memtrace 2Date: Aug 2017 3KernelVersion: 4.14 4Contact: linuxppc-dev@lists.ozlabs.org 5Description: This folder contains the relevant debugfs files for the 6 hardware trace macro to use. CONFIG_PPC64_HARDWARE_TRACING 7 must be set. 8 9What: /sys/kernel/debug/powerpc/memtrace/enable 10Date: Aug 2017 11KernelVersion: 4.14 12Contact: linuxppc-dev@lists.ozlabs.org 13Description: Write an integer containing the size in bytes of the memory 14 you want removed from each NUMA node to this file - it must be 15 aligned to the memblock size. This amount of RAM will be removed |
16 from the kernel mappings and the following debugfs files will be 17 created. This can only be successfully done once per boot. Once 18 memory is successfully removed from each node, the following 19 files are created. | 16 from each NUMA node in the kernel mappings and the following 17 debugfs files will be created. Once memory is successfully 18 removed from each node, the following files are created. To 19 re-add memory to the kernel, echo 0 into this file (it will be 20 automatically onlined). |
20 21What: /sys/kernel/debug/powerpc/memtrace/<node-id> 22Date: Aug 2017 23KernelVersion: 4.14 24Contact: linuxppc-dev@lists.ozlabs.org 25Description: This directory contains information about the removed memory 26 from the specific NUMA node. 27 --- 18 unchanged lines hidden --- | 21 22What: /sys/kernel/debug/powerpc/memtrace/<node-id> 23Date: Aug 2017 24KernelVersion: 4.14 25Contact: linuxppc-dev@lists.ozlabs.org 26Description: This directory contains information about the removed memory 27 from the specific NUMA node. 28 --- 18 unchanged lines hidden --- |