On 27.04.22 22:48, Andrew Morton wrote: > On Thu, 17 Mar 2022 02:50:24 -0400 Bibo Mao <maobibo@xxxxxxxxxxx> wrote: > >> collapse huge page will copy huge page from general small pages, >> dest node is calculated from most one of source pages, however >> THP daemon is not scheduled on dest node. The performance may be >> poor since huge page copying across nodes, also cache is not used >> for target node. With this patch, khugepaged daemon switches to >> the same numa node with huge page. It saves copying time and makes >> use of local cache better. >> >> With this patch, specint 2006 base performance is improved with 6% >> on Loongson 3C5000L platform with 32 cores and 8 numa nodes. >> > > Are there any acks for this one please? I'll have a look! -- Thanks, David / dhildenb