public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@sgi.com>
To: William Lee Irwin III <wli@holomorphy.com>
Cc: "Chen, Kenneth W" <kenneth.w.chen@intel.com>,
	linux-kernel@vger.kernel.org
Subject: Re: More bug fix in mm/hugetlb.c - fix try_to_free_low()
Date: Thu, 24 Jun 2004 08:17:29 +1000	[thread overview]
Message-ID: <10650.1088029049@ocs3.ocs.com.au> (raw)
In-Reply-To: Your message of "Wed, 23 Jun 2004 12:42:43 MST." <20040623194243.GB1552@holomorphy.com>

On Wed, 23 Jun 2004 12:42:43 -0700, 
William Lee Irwin III <wli@holomorphy.com> wrote:
>On Wed, Jun 23, 2004 at 12:33:00PM -0700, Chen, Kenneth W wrote:
>> The argument "count" passed to try_to_free_low() is the config parameter
>> for desired hugetlb page pool size.  But the implementation took that
>> input argument as number of pages to free. It also decrement the config
>> parameter as well.  All give random behavior depend on how many hugetlb
>> pages are in normal/highmem zone.
>> A two line fix in try_to_free_low() would be:
>
>Thanks for cleaning this up; there hasn't been much apparent interest
>here lately so I've not gotten much in the way of bugreports to work.

While we are discussing hugetlb, what is the official method of
identifying a hugetlb page - at the page level, not through a vma?

When taking a crash dump, hugetlb pages must be treated as user data,
not as kernel pages.  LKCD must be able to identify hugetlb pages from
the page struct, dumping cannot assume that any mm context is valid so
vma scans are out.  The identification method must work whether the
hugetlb pages are in use or not.  In 2.4 LKCD I added PG_hugetlb, but I
would prefer a test that did not require yet another PG flag.


  parent reply	other threads:[~2004-06-23 22:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-23 19:33 More bug fix in mm/hugetlb.c - fix try_to_free_low() Chen, Kenneth W
2004-06-23 19:42 ` William Lee Irwin III
2004-06-23 21:50   ` Chen, Kenneth W
2004-06-23 22:17   ` Keith Owens [this message]
2004-06-23 22:24     ` Chen, Kenneth W
2004-06-23 22:35     ` William Lee Irwin III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10650.1088029049@ocs3.ocs.com.au \
    --to=kaos@sgi.com \
    --cc=kenneth.w.chen@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wli@holomorphy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox