On Thu, Oct 25, 2012 at 02:08:14AM -0700, Anton Vorontsov wrote: [...] > Maybe it makes sense to implement something like PRESSURE_MILD with an > additional nr_pages threshold, which basically hits the kernel about how > many easily reclaimable pages userland has (that would be a part of our > definition for the mild pressure level). So, essentially it will be > > if (pressure_index >= oom_level) > return PRESSURE_OOM; > else if (pressure_index >= med_level) > return PRESSURE_MEDIUM; > else if (userland_reclaimable_pages >= nr_reclaimable_pages) > return PRESSURE_MILD; ...or we can call it PRESSURE_BALANCE, just to be precise and clear. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html