]> git.baikalelectronics.ru Git - kernel.git/commit
thp: make deferred_split_scan() work again
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Fri, 5 Feb 2016 23:36:53 +0000 (15:36 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Feb 2016 02:10:40 +0000 (18:10 -0800)
commitf78c1f9ed8de6e33f37551c96add237c50e2ab30
tree55e159233ebbc7265ae0b90a97ce6d687c1d6183
parent2318c084d069f54678f7cd255ce284800554beaf
thp: make deferred_split_scan() work again

We need to iterate over split_queue, not local empty list to get
anything split from the shrinker.

Fixes: f74200ed8b81 ("thp: limit number of object to scan on deferred_split_scan()")
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/huge_memory.c