> You need to remember that this is infrastructure for later. I tried it
> other ways and would have needed a number of calls to drain local
> pages.
If you need 10x drain_local_pages(), that's okay -- because it does
not slow down non-suspend paths. If you need more of them... well then
I understand this is the way to go (but you should be able to hide
drain_local_pages in some local funcion or something...).
Pavel
-- Horseback riding is like software... ...vgf orggre jura vgf serr. - 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/