Re:Re: Question About Functions "__free_pages_check" and "check_new_page" in page_alloc.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thank you very much! Vlastimil.

At 2016-05-17 13:14:42, "Vlastimil Babka" <vbabka@xxxxxxx> wrote:
>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.


 


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]