[PATCH] makedumpfile: Petr Tesarik's hugepage filtering

HATAYAMA Daisuke d.hatayama at jp.fujitsu.com
Thu May 23 22:40:47 EDT 2013


(2013/05/24 11:24), HATAYAMA Daisuke wrote:
> (2013/05/24 10:11), Atsushi Kumagai wrote:
>> On Wed, 15 May 2013 13:43:59 -0500
>> Cliff Wickman <cpw at sgi.com> wrote:

> Also, hugetlbfs pages are "user data". They should get filtered when user data dump level
> is specified. So how about:
>
>        Dump  |  zero   without  with     user    free   hugetlbfs
>        Level |  page   private  private  data    page   page
>       -------+-----------------------------------------------------
>           0  |
>           1  |   X
>           2  |           X
>           4  |           X        X
>           8  |                            X              X
>          16  |                                    X
>          32  |                                           X
>          63  |   X       X        X       X       X      X
>
> On dump level 8, hugetlbfs pages also get filtered.

Thinking further, it might be unlikely that we want user data but don't want hugetlbfs pages
on crash dump case. If so, I think Petr's implementation seems also OK. It seems no problem
to postpone introducing new dump level after someone who wants to filter hugetlbfs pages only,
actually occurs.

-- 
Thanks.
HATAYAMA, Daisuke




More information about the kexec mailing list