{"push_id":1015895258,"size":1,"distinct_size":1,"ref":"refs/heads/mm-mr1-staging","head":"99bb0a37e8be78582751dc33eae10c61dd0d5d62","before":"b4bccc66b23c674cfd3ab812107a559ae7af346e","commits":[{"sha":"99bb0a37e8be78582751dc33eae10c61dd0d5d62","author":{"email":"db766431e3f0373ca1ec8fa855cfd5f84b2f2eb6@suse.cz","name":"Vlastimil Babka"},"message":"mm/compaction: make isolate_freepages start at pageblock boundary\n\ncommit 49e068f0b73dd042c186ffa9b420a9943e90389a upstream.\n\nThe compaction freepage scanner implementation in isolate_freepages()\nstarts by taking the current cc->free_pfn value as the first pfn.  In a\nfor loop, it scans from this first pfn to the end of the pageblock, and\nthen subtracts pageblock_nr_pages from the first pfn to obtain the first\npfn for the next for loop iteration.\n\nThis means that when cc->free_pfn starts at offset X rather than being\naligned on pageblock boundary, the scanner will start at offset X in all\nscanned pageblock, ignoring potentially many free pages.  Currently this\ncan happen when\n\n a) zone's end pfn is not pageblock aligned, or\n\n b) through zone->compact_cached_free_pfn with CONFIG_HOLES_IN_ZONE\n    enabled and a hole spanning the beginning of a pageblock\n\nThis patch fixes the problem by aligning the initial pfn in\nisolate_freepages() to pageblock boundary.  This also permits replacing\nthe end-of-pageblock alignment within the for loop with a simple\npageblock_nr_pages increment.\n\nSigned-off-by: Vlastimil Babka <vbabka@suse.cz>\nReported-by: Heesub Shin <heesub.shin@samsung.com>\nAcked-by: Minchan Kim <minchan@kernel.org>\nCc: Mel Gorman <mgorman@suse.de>\nAcked-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>\nCc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>\nCc: Michal Nazarewicz <mina86@mina86.com>\nCc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>\nCc: Christoph Lameter <cl@linux.com>\nAcked-by: Rik van Riel <riel@redhat.com>\nCc: Dongjun Shin <d.j.shin@samsung.com>\nCc: Sunghwan Yun <sunghwan.yun@samsung.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/Chairshot215/starship_kernel_moto_shamu/commits/99bb0a37e8be78582751dc33eae10c61dd0d5d62"}]}