mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David Schwartz" <davids@webmaster.com>
To: "Arjan van de Ven" <arjan@infradead.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: mm: how to check for kernel pages
Date: Sun, 4 Feb 2007 09:49:55 -0800	[thread overview]
Message-ID: <MDEHLPKNGKAHNMBLJOLKMENMBFAC.davids@webmaster.com> (raw)
In-Reply-To: <20070204165407.GD10477@curandero.marconia.cz>


> Ok, so what everything should be checked?
>
> - PageReserved
> - PageSlab
> - PageLocked
> - PageBuddy
> - PageCompound
> - PageNosave
> - PageNosaveFree
> - kernel page
> - userspace active DMA as you've mentioned. But I don't know how to test
>   it

Perhaps I'm missing something obvious, but shouldn't this just be the same
check to see if the page can be swapped out or discarded? Surely any page
that can be swapped out or discarded can be migrated. There might
theoretically be some pages that can't be swapped out or discarded that
could be migrated, but why not just ignore those cases?

DS



      reply	other threads:[~2007-02-04 17:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-04 11:02 Michal Hocko
2007-02-04 13:57 ` Arjan van de Ven
2007-02-04 15:33   ` Michal Hocko
2007-02-04 15:45     ` Arjan van de Ven
2007-02-04 16:54       ` Michal Hocko
2007-02-04 17:49         ` David Schwartz [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=MDEHLPKNGKAHNMBLJOLKMENMBFAC.davids@webmaster.com \
    --to=davids@webmaster.com \
    --cc=arjan@infradead.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

all inboxes | Powered by JetHome®