lkml.org 
[lkml]   [2004]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Lse-tech] Re: [PATCH] [0/6] HUGETLB memory commitment
Date
On Fri, 26 Mar 2004 14:28:26 +0530, 
Suparna Bhattacharya <suparna@in.ibm.com> wrote:
>On Thu, Mar 25, 2004 at 04:22:32PM -0800, Andrew Morton wrote:
>> Keith Owens <kaos@sgi.com> wrote:
>> >
>> > FWIW, lkcd (crash dump) treats hugetlb pages as normal kernel pages and
>> > dumps them, which is pointless and wastes a lot of time. To avoid
>> > dumping these pages in lkcd, I had to add a PG_hugetlb flag. lkcd runs
>
>This should already be fixed in recent versions of lkcd. It uses a
>little bit of trickery to avoid an extra page flag -- hugetlb pages are
>detected as "in use" as well as reserved, unlike other reserved pages
>which helps identify them.

Are you sure that this works for hugetlb pages that have been
preallocated but not yet mapped? AFAICT the hugetlb pages start off as
reserved with a zero usecount.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.349 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site