Friday, April 22, 2022

[SOLVED] what is meaning of a negative numa node id?

Issue

I have a memory error on my custom imx board. It uses a single core cortex A72 Soc runnning linux kernel 5.4.47

SLUB: Unable to allocate memory on node -1, gfp=0xb21(GFP_ATOMIC|GFP_DMA|__GFP_ZERO)

What is the meaning of a negative numa node id? I usually get node 0 in my oom indicating one numa node mapped to type DMA32.


Solution

Node -1 corresponds to value of the macro NUMA_NO_NODE.

Usually this value means request for memory from the node for current CPU.



Answered By - Tsyvarev
Answer Checked By - Marie Seifert (WPSolving Admin)