Re: mm: how to check for kernel pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 04, 2007 at 04:45:51PM +0100, Arjan van de Ven wrote:
> > 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 ..... 

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

-- 
Michal Hocko

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux