Re: [PATCH 2/4] mm, page_alloc: warn_alloc print nodemask

From: Hillf Danton
Date: Tue Jan 17 2017 - 04:40:54 EST



On Tuesday, January 17, 2017 5:16 PM Michal Hocko wrote:
>
> From: Michal Hocko <mhocko@xxxxxxxx>
>
> warn_alloc is currently used for to report an allocation failure or an
> allocation stall. We print some details of the allocation request like
> the gfp mask and the request order. We do not print the allocation
> nodemask which is important when debugging the reason for the allocation
> failure as well. We alreaddy print the nodemask in the OOM report.
>
> Add nodemask to warn_alloc and print it in warn_alloc as well.
>
> Changes since v1
> - print cpusets as well - Vlastimil
>
> Acked-by: Mel Gorman <mgorman@xxxxxxx>
> Signed-off-by: Michal Hocko <mhocko@xxxxxxxx>
> ---
Acked-by: Hillf Danton <hillf.zj@xxxxxxxxxxxxxxx>