question about get_user_pages and swapping

From: Tomasz Kantecki
Date: Thu Oct 10 2013 - 06:28:00 EST


gup increments page->count (FOLL_GET) provided pages argument is not null.

To my limited knowledge elevated page count doesn't prevent page from
being moved from active to inactive list. What is more, such page may
also be selected for reclamaition.
Is my limited knowledge correct here?
Is there anything that would stop such page from being swapped?

Thanks,
Tomasz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/