Re: [patch] mm, compaction: drain pcps for zone when kcompactd fails

2018-03-06 Thread David Rientjes
On Thu, 1 Mar 2018, David Rientjes wrote: > On Thu, 1 Mar 2018, Andrew Morton wrote: > > > On Thu, 1 Mar 2018 03:42:04 -0800 (PST) David Rientjes > > wrote: > > > > > It's possible for buddy pages to become stranded on pcps that, if drained, > > > could be merged with other buddy pages on the

Re: [patch] mm, compaction: drain pcps for zone when kcompactd fails

2018-03-02 Thread Matthew Wilcox
On Thu, Mar 01, 2018 at 01:23:34PM +0100, Vlastimil Babka wrote: > On 03/01/2018 12:42 PM, David Rientjes wrote: > > It's possible for buddy pages to become stranded on pcps that, if drained, > > could be merged with other buddy pages on the zone's free area to form > > large order pages, including

Re: [patch] mm, compaction: drain pcps for zone when kcompactd fails

2018-03-02 Thread Vlastimil Babka
On 03/01/2018 02:05 PM, David Rientjes wrote: > On Thu, 1 Mar 2018, Vlastimil Babka wrote: > >> On 03/01/2018 12:42 PM, David Rientjes wrote: >>> Consider a verbose example using the tools/vm/page-types tool at the >>> beginning of a ZONE_NORMAL, where 'B' indicates a buddy page and 'S' >>> indica

Re: [patch] mm, compaction: drain pcps for zone when kcompactd fails

2018-03-01 Thread David Rientjes
On Thu, 1 Mar 2018, Andrew Morton wrote: > On Thu, 1 Mar 2018 03:42:04 -0800 (PST) David Rientjes > wrote: > > > It's possible for buddy pages to become stranded on pcps that, if drained, > > could be merged with other buddy pages on the zone's free area to form > > large order pages, including

Re: [patch] mm, compaction: drain pcps for zone when kcompactd fails

2018-03-01 Thread Andrew Morton
On Thu, 1 Mar 2018 03:42:04 -0800 (PST) David Rientjes wrote: > It's possible for buddy pages to become stranded on pcps that, if drained, > could be merged with other buddy pages on the zone's free area to form > large order pages, including up to MAX_ORDER. I grabbed this as-is. Perhaps you

Re: [patch] mm, compaction: drain pcps for zone when kcompactd fails

2018-03-01 Thread David Rientjes
On Thu, 1 Mar 2018, Vlastimil Babka wrote: > On 03/01/2018 12:42 PM, David Rientjes wrote: > > It's possible for buddy pages to become stranded on pcps that, if drained, > > could be merged with other buddy pages on the zone's free area to form > > large order pages, including up to MAX_ORDER. > >

Re: [patch] mm, compaction: drain pcps for zone when kcompactd fails

2018-03-01 Thread Vlastimil Babka
On 03/01/2018 12:42 PM, David Rientjes wrote: > It's possible for buddy pages to become stranded on pcps that, if drained, > could be merged with other buddy pages on the zone's free area to form > large order pages, including up to MAX_ORDER. > > Consider a verbose example using the tools/vm/page