linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@transmeta.com>
To: Christoph Hellwig <hch@lst.de>
Cc: linux-mm@kvack.org
Subject: Re: [PATCH] vmap_pages() (4th resend)
Date: Mon, 29 Jul 2002 13:59:29 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.33.0207291355550.1470-100000@penguin.transmeta.com> (raw)
In-Reply-To: <20020729214638.A4582@lst.de>

On Mon, 29 Jul 2002, Christoph Hellwig wrote:
> 
> I looked into implementing your suggestion the last, but the problem is
> that we need to pass in a page array.  To do so we could either allocate
> all the pages as high-order allocation or kmalloc() the array where we
> place the pages.  Both doesn't seem very practical to me..

Hmm? Is that such a big deal? I think it's worth it for cleanliness, and
kmalloc() should be plenty big enough (a standard 4kB kmalloc on x86 can
cover 4MB worth of vmalloc() space, and anybody who wants to vmalloc more
than than that had better have some good reason for it - and kmalloc() 
does actually work for much larger areas too).

So the kmalloc() approach sounds pretty trivial to me.

		Linus

--
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/

  reply	other threads:[~2002-07-29 20:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-29 19:15 Christoph Hellwig
2002-07-29 19:25 ` Linus Torvalds
2002-07-29 19:46   ` Christoph Hellwig
2002-07-29 20:59     ` Linus Torvalds [this message]
2002-07-29 21:29       ` Christoph Hellwig
2002-08-05 17:42       ` Christoph Hellwig
2002-08-05 18:11         ` Christoph Hellwig

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=Pine.LNX.4.33.0207291355550.1470-100000@penguin.transmeta.com \
    --to=torvalds@transmeta.com \
    --cc=hch@lst.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox