lkml.org 
[lkml]   [2007]   [Feb]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: mm: how to check for kernel pages
FromArjan van de Ven <>
DateSun, 04 Feb 2007 16:45:51 +0100
On Sun, 2007-02-04 at 16:33 +0100, Michal Hocko wrote:
> On Sun, Feb 04, 2007 at 02:57:30PM +0100, Arjan van de Ven wrote:
> > On Sun, 2007-02-04 at 12:02 +0100, Michal Hocko wrote:
> > > Hi,> > > is there any effective and fast way how to find out whether page
> > > given by its page frame number is currenly used by (mapped by) kernel?> > > > what do you want to use this for? The answer to your question greatly
> > depends on that...> > Sorry for not being more precise. As a part of my thesis work I need to
> migrate pages. I greatly use mm/migrate.c code.  > I assume that not all pages can be migrated - especially those used by
> kernel (where direct virtual to physical mapping is used).
> So I intended something like following code:

it's more than that... even userspace pages may not be moved if they're
the target of active DMA for example ..... 
-- 
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-02-04 16:49    [from the cache]
©2003-2008