On Wed, Nov 25, 2015 at 06:36:56PM +0000, Chris Wilson wrote: > +static bool swap_available(void) > +{ > + return total_swap_pages || frontswap_enabled; > +} Of course these aren't exported symbols, so really this is just RFC right now. -Chris -- Chris Wilson, Intel Open Source Technology Centre