public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Terence Ripperda <tripperda@nvidia.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Terence Ripperda <tripperda@nvidia.com>, linux-kernel@vger.kernel.org
Subject: Re: [patch] VM accounting change
Date: Thu, 11 Nov 2004 18:13:37 -0600	[thread overview]
Message-ID: <20041112001337.GR1740@hygelac> (raw)
In-Reply-To: <20041111150710.6855398a.akpm@osdl.org>

On Thu, Nov 11, 2004 at 03:07:10PM -0800, akpm@osdl.org wrote:
> VM_LOCKED|VM_IO doesn't seem to be a sane combination.  VM_LOCKED means
> "don't page it out" and VM_IO means "an IO region".  The kernel never even
> attempts to page out IO regions because they don't have reverse mappings. 
> Heck, they don't even have pageframes.
> 
> How about you drop the VM_LOCKED?

sounds good, I can do that.

on a related note, there are a couple of flags that I'm not 100% clear
on the difference between, mainly:

VM_LOCKED
PG_locked
PG_reserved

everything I've seen in the past has suggested that drivers set the
PG_reserved flag for memory allocations intended to be locked down in
memory for extensive dma (the bttv driver had always been pointed to
as an example of that).

I'm not clear how that differs from PG_locked and VM_LOCKED. is
PG_reserved still the suggested way to properly lock memory down, or
is there a more generally accepted method?

Thanks,
Terence



  reply	other threads:[~2004-11-12  0:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-11 22:32 [patch] VM accounting change Terence Ripperda
2004-11-11 23:07 ` Andrew Morton
2004-11-12  0:13   ` Terence Ripperda [this message]
2004-11-12  0:27     ` Andrew Morton

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=20041112001337.GR1740@hygelac \
    --to=tripperda@nvidia.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.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