Re: [PATCH v3] mm: page_alloc: dump migrate-failed pages

2021-03-11 Thread Minchan Kim
On Thu, Mar 11, 2021 at 05:40:35PM +0100, David Hildenbrand wrote: > On 10.03.21 19:01, Minchan Kim wrote: > > Currently, debugging CMA allocation failures is quite limited. > > The most commong source of these failures seems to be page > > migration which doesn't provide any useful information on

Re: [PATCH v3] mm: page_alloc: dump migrate-failed pages

2021-03-11 Thread David Hildenbrand
On 10.03.21 19:01, Minchan Kim wrote: Currently, debugging CMA allocation failures is quite limited. The most commong source of these failures seems to be page migration which doesn't provide any useful information on the reason of the failure by itself. alloc_contig_range can report those

Re: [PATCH v3] mm: page_alloc: dump migrate-failed pages

2021-03-10 Thread Minchan Kim
On Wed, Mar 10, 2021 at 12:56:09PM -0800, Andrew Morton wrote: > On Wed, 10 Mar 2021 10:01:04 -0800 Minchan Kim wrote: > > > Currently, debugging CMA allocation failures is quite limited. > > The most commong source of these failures seems to be page > > migration which doesn't provide any

Re: [PATCH v3] mm: page_alloc: dump migrate-failed pages

2021-03-10 Thread Andrew Morton
On Wed, 10 Mar 2021 10:01:04 -0800 Minchan Kim wrote: > Currently, debugging CMA allocation failures is quite limited. > The most commong source of these failures seems to be page > migration which doesn't provide any useful information on the > reason of the failure by itself.

[PATCH v3] mm: page_alloc: dump migrate-failed pages

2021-03-10 Thread Minchan Kim
Currently, debugging CMA allocation failures is quite limited. The most commong source of these failures seems to be page migration which doesn't provide any useful information on the reason of the failure by itself. alloc_contig_range can report those failures as it holds a list of migrate-failed