swap_out() will deactivate everything it finds to be not-recently used,
and that's how the inactive list ends up getting replenished.
But if you want to put an unconditional "refill_inactive()" after the
inactive shrink failed, just to work with the case of the active list
having a lot of interesting pages. That's not a mapped vs unmapped issue,
that's more a "maybe all the DMA pages are on the active list" kind of
thing.
Linus
-
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/