On 3/20/20 12:55 PM, Vlastimil Babka wrote: > This reverts commit ad2c8144418c6a81cefe65379fd47bbe8344cef2. > > The function node_to_mem_node() was introduced by that commit for use in SLUB > on systems with memoryless nodes, but it turned out to be unreliable on some > architectures/configurations and a simpler solution exists than fixing it up. > > Thus the previous commit "mm, slub: prevent kmalloc_node crashes and memory > leaks" removed the only user of node_to_mem_node() and we can revert the commit > that introduced it. Since the bugfix was fast-tracked to Linus, we can now reference it properly and replace the second paragraph with: Thus commit 0715e6c516f1 ("mm, slub: prevent kmalloc_node crashes and memory leaks") removed the only user of node_to_mem_node() and we can revert the commit that introduced the function.