On Fri, 22 Oct 2010, Mel Gorman wrote: > > +void disable_pgdat_percpu_threshold(pg_data_t *pgdat) Call this set_pgdat_stat_threshold() and make it take a calculate_pressure () function? void set_pgdat_stat_threshold(pg_data_t *pgdat, int (*calculate_pressure)(struct zone *)) ? Then do set_pgdat_stat_threshold(pgdat, threshold_normal) set_pgdat_stat_threshold(pgdat, threshold_pressure) ? -- 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>