[<prev] [next>] [day] [month] [year] [list]
Message-ID: <573AA8C2.2060606@suse.cz>
Date: Tue, 17 May 2016 07:14:42 +0200
From: Vlastimil Babka <vbabka@...e.cz>
To: Wang Xiaoqiang <wang_xiaoq@....com>,
Michal Hocko <mhocko@...nel.org>,
n-horiguchi <n-horiguchi@...jp.nec.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-mm <linux-mm@...ck.org>
Subject: Re: Question About Functions "__free_pages_check" and
"check_new_page" in page_alloc.c
On 05/17/2016 03:06 AM, Wang Xiaoqiang wrote:
>>yes it would. Why that would matter. The checks should be in an order
>>which could give us a more specific reason with later checks. bad_page()
>
> I see, you mean the later "bad_reason" is the superset of the previous one.
Not exactly. It's not possible to sort all the reasons like that. But as
Michal said, bad_page() will print all the relevant info so you can
reconstruct all reasons from it. The bad_reason text is mostly a hint
what to check first.
>>will then print more detailed information.
>>--
>>Michal Hocko
>>SUSE Labs
>
> thank you, Michal.
>
>
>
>
Powered by blists - more mailing lists