> > @@ -245,6 +261,11 @@ void __dec_zone_state(struct zone *zone, enum zone_stat_item item) > > struct per_cpu_pageset *pcp = this_cpu_ptr(zone->pageset); > > s8 *p = pcp->vm_stat_diff + item; > > > > + if (unlikely(!vm_stat_drift_take(zone, item))) { > > + zone_page_state_add(-1, zone, item); > > + return; > > + } > > + > > (*p)--; > > > > if (unlikely(*p < - pcp->stat_threshold)) { > > Increased overhead for basic VM counter management. > > Instead of all of this why not simply set the stat_threshold to 0 for > select cpus? hmm... difficult. but I will think this way a while ;) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>