Okay, thanks for the warning. It sounds like the shrinker will be
important, but we'll also need to mark those pages as unevictable
while they're unshrunk. (Usually when drivers grab a large number
of pages, they're not on any LRU to begin with: you're being nice
by choosing swappable LRU pages - in the tmpfs case - but enough
to upset the balance while they're not swappable.) Offhand I can't
say what will be the appropriate way to do that, it's something we
need to revisit later (from your point of view it should amount to
one function call or flag set somewhere, not any grand redesign).
Hugh
--