RE: mm: how to check for kernel pages

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

 



> 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


-
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