All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: consistent_alloc() revisited
Date: Sun, 21 Jul 2002 23:23:40 +1000	[thread overview]
Message-ID: <20020721132340.GE22786@zax> (raw)
In-Reply-To: <20020720152213.10662@192.168.4.1>


On Sat, Jul 20, 2002 at 05:22:13PM +0200, Benjamin Herrenschmidt wrote:
>
> >
> >Arguably setting PageReserved is the Right Thing, since
> >consistent_alloc() memory obviously shouldn't be swapped or paged.
> >However, it's only relevant if the memory is mapped into userspace,
> >and then a driver can set VM_IO on the vma to prevent this.
>
> An other issue I had with AGP is, I think, killing the userspace
> process mmap'ing some of this memory will cause the kernel to try
> to free the pages if not PageReserved

Surely it shouldn't if VM_IO is set.

--
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-07-21 13:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-16  2:13 consistent_alloc() revisited David Gibson
2002-07-16 14:09 ` Dan Malek
2002-07-16 14:58   ` Tom Rini
2002-07-16 15:23   ` Matt Porter
2002-07-16 15:27   ` Matt Porter
2002-07-17  1:24   ` David Gibson
2002-07-20 15:28     ` Benjamin Herrenschmidt
2002-07-21 13:26       ` David Gibson
2002-07-20 15:22 ` Benjamin Herrenschmidt
2002-07-21 13:23   ` David Gibson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-07-16 16:14 Ralph Blach

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=20020721132340.GE22786@zax \
    --to=david@gibson.dropbear.id.au \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-embedded@lists.linuxppc.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.