From: David Howells <dhowells@redhat.com>
To: Christoph Lameter <cl@linux-foundation.org>
Cc: dhowells@redhat.com, linux-mm@kvack.org
Subject: Re: A question about alloc_pages()
Date: Mon, 29 Sep 2008 14:21:11 +0100 [thread overview]
Message-ID: <31462.1222694471@redhat.com> (raw)
In-Reply-To: <48DD073D.9080109@linux-foundation.org>
Christoph Lameter <cl@linux-foundation.org> wrote:
> Must be a bug.
Seems I wasn't returning the blocks of pages correctly: the first page needed
its page_count() setting to 1 and the an order-N sized page block had to be
order-N aligned before calling __free_pages(). However, if you don't turn on
CONFIG_DEBUG_VM, it appears to work, but produces some odd effects.
David
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2008-09-29 13:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-25 22:31 A question about alloc_pages() David Howells
2008-09-26 16:01 ` Christoph Lameter
2008-09-29 13:21 ` David Howells [this message]
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=31462.1222694471@redhat.com \
--to=dhowells@redhat.com \
--cc=cl@linux-foundation.org \
--cc=linux-mm@kvack.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.