All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Matthew Wilcox <matthew@wil.cx>
Cc: Andrew Morton <akpm@zip.com.au>,
	linux-mm@kvack.org, manfred@colorfullife.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Make slab use alloc_pages directly
Date: Mon, 24 Jan 2005 17:03:58 +0000	[thread overview]
Message-ID: <24391.1106586238@redhat.com> (raw)
In-Reply-To: <20050124165412.GL31455@parcelfarce.linux.theplanet.co.uk>


Matthew Wilcox <matthew@wil.cx> wrote:

> __get_free_pages() calls alloc_pages, finds the page_address() and
> throws away the struct page *.  Slab then calls virt_to_page to get it
> back again.  Much more efficient for slab to call alloc_pages itself,
> as well as making the NUMA and non-NUMA cases more similarr to each other.

Looks reasonable. Should also work in the NOMMU case.

David

WARNING: multiple messages have this Message-ID (diff)
From: David Howells <dhowells@redhat.com>
To: Matthew Wilcox <matthew@wil.cx>
Cc: Andrew Morton <akpm@zip.com.au>,
	linux-mm@kvack.org, manfred@colorfullife.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Make slab use alloc_pages directly
Date: Mon, 24 Jan 2005 17:03:58 +0000	[thread overview]
Message-ID: <24391.1106586238@redhat.com> (raw)
In-Reply-To: <20050124165412.GL31455@parcelfarce.linux.theplanet.co.uk>

Matthew Wilcox <matthew@wil.cx> wrote:

> __get_free_pages() calls alloc_pages, finds the page_address() and
> throws away the struct page *.  Slab then calls virt_to_page to get it
> back again.  Much more efficient for slab to call alloc_pages itself,
> as well as making the NUMA and non-NUMA cases more similarr to each other.

Looks reasonable. Should also work in the NOMMU case.

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:"aart@kvack.org"> aart@kvack.org </a>

  reply	other threads:[~2005-01-24 17:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-24 16:54 [PATCH] Make slab use alloc_pages directly Matthew Wilcox
2005-01-24 16:54 ` Matthew Wilcox
2005-01-24 17:03 ` David Howells [this message]
2005-01-24 17:03   ` David Howells
2005-01-24 19:30 ` Manfred Spraul
2005-01-24 19:30   ` Manfred Spraul
2005-01-25  0:58 ` [PATCH] Remove special case in kmem_getpages() Brian Gerst
2005-01-25  1:04   ` Matthew Wilcox
2005-01-25  1:04     ` Matthew Wilcox

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=24391.1106586238@redhat.com \
    --to=dhowells@redhat.com \
    --cc=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=manfred@colorfullife.com \
    --cc=matthew@wil.cx \
    /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.