{"push_id":834537682,"size":1,"distinct_size":1,"ref":"refs/heads/pac-5.1","head":"012ef62cfec7f27044ea14f61dc147b6369ceae8","before":"ce422b74c15f7ce20c95e88b0d0044ecee680ff2","commits":[{"sha":"012ef62cfec7f27044ea14f61dc147b6369ceae8","author":{"email":"39ea6a09710987173e32e37c86918024a0f441c1@suse.de","name":"Mel Gorman"},"message":"mm: page allocator: do not call direct reclaim for THP allocations while compaction is deferred\n\nStable note: Not tracked in Buzilla. This was part of a series that\n\treduced interactivity stalls experienced when THP was enabled.\n\nIf compaction is deferred, direct reclaim is used to try to free enough\npages for the allocation to succeed.  For small high-orders, this has a\nreasonable chance of success.  However, if the caller has specified\n__GFP_NO_KSWAPD to limit the disruption to the system, it makes more sense\nto fail the allocation rather than stall the caller in direct reclaim.\nThis patch skips direct reclaim if compaction is deferred and the caller\nspecifies __GFP_NO_KSWAPD.\n\nAsync compaction only considers a subset of pages so it is possible for\ncompaction to be deferred prematurely and not enter direct reclaim even in\ncases where it should.  To compensate for this, this patch also defers\ncompaction only if sync compaction failed.\n\nChange-Id: Ic7ea20b8b640ba061fb65a1a968a93a01e509f61\nSigned-off-by: Mel Gorman <mgorman@suse.de>\nAcked-by: Minchan Kim <minchan.kim@gmail.com>\nReviewed-by: Rik van Riel<riel@redhat.com>\nCc: Andrea Arcangeli <aarcange@redhat.com>\nCc: Dave Jones <davej@redhat.com>\nCc: Jan Kara <jack@suse.cz>\nCc: Andy Isaacson <adi@hexapodia.org>\nCc: Nai Xia <nai.xia@gmail.com>\nCc: Johannes Weiner <jweiner@redhat.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/Split-Screen/android_kernel_motorola_omap4-common/commits/012ef62cfec7f27044ea14f61dc147b6369ceae8"}]}