> 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/