Hi Andrea, Sorry, I should be noticed and address the issue with scan before...
Patchset below should address your concern. I've tested it in qemu with fake numa. Kirill A. Shutemov (3): thp: make split_queue per-node thp: change deferred_split_count() to return number of THP in queue thp: limit number of object to scan on deferred_split_scan() include/linux/mmzone.h | 6 +++++ mm/huge_memory.c | 64 +++++++++++++++++++++++++------------------------- mm/page_alloc.c | 5 ++++ 3 files changed, 43 insertions(+), 32 deletions(-) -- 2.7.0.rc3