public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Oleg Nesterov <oleg@tv-sign.ru>
Cc: linux-kernel@vger.kernel.org, Andi Kleen <ak@suse.de>,
	"David S. Miller" <davem@davemloft.net>,
	Rusty Russell <rusty@rustcorp.com.au>,
	Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH 1/5] vmalloc: introduce __vmalloc_area() function
Date: Tue, 22 Mar 2005 09:52:32 +0000	[thread overview]
Message-ID: <20050322095232.B14577@flint.arm.linux.org.uk> (raw)
In-Reply-To: <422B5263.285A7928@tv-sign.ru>; from oleg@tv-sign.ru on Sun, Mar 06, 2005 at 09:56:35PM +0300

On Sun, Mar 06, 2005 at 09:56:35PM +0300, Oleg Nesterov wrote:
> There are 3 copy-and-paste implementations of __vmalloc() in
> arch/{arm,sparc64,x86_64}/kernel/module.c.

There is actually a similar copy in arch/arm/mm/consistent.c, but at the
time I cleaned it up to be something saner.  With some tweaks (such as
adding a struct vm_region_head which contains the spinlock, as well as
the start/end and list) we essentially end up with a generic memory
region allocator suitable for vmalloc, ioremap, module stuff, and so
forth.

If anyone's interested in that, I'll sort out those tweaks.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

      reply	other threads:[~2005-03-22  9:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-06 18:56 [PATCH 1/5] vmalloc: introduce __vmalloc_area() function Oleg Nesterov
2005-03-22  9:52 ` Russell King [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=20050322095232.B14577@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@tv-sign.ru \
    --cc=rusty@rustcorp.com.au \
    /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