[PATCH] makedumpfile: Petr Tesarik's hugepage filtering

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

 



(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




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux