Now that zones are first-touch by default, it starts making sense to
permit reclamation from a specific domain when the page daemons are
trying to free pages. No functional change intended.
elsewhere we have done:
Rather than adding a parameter to all current consumers. In this case quite a lot will want any and I suspect only a few will want _domain() so it may be less churn.
Did we already discuss this?
Why aren't we draining the specific zone here? Do we need to drain unrelated things to push vnode references? this looks weird.
We should just move iteration and the work into different functions.
I was thinking it would be nice if this code was closer and named with the other zone_domain_ stuff.
again unnecessary iteration.
This doesn't make as much sense anymore. We still need the logic that protects from concurrent destruction, but now we will refuse to reclaim from one domain if we're already reclaiming from another. What do you think the right behavior will be?