On Thu, 29 Nov 2018 05:08:15 +0800 Wei Yang <richard.weiyang@xxxxxxxxx> wrote: > Function show_mem() is used to print system memory status when user > requires or fail to allocate memory. Generally, this is a best effort > information and not willing to affect core mm subsystem. > > The data protected by pgdat_resize_lock is mostly correct except there is: > > * page struct defer init > * memory hotplug What is the advantage in doing this? What problem does the taking of that lock cause?