On Mon, Aug 14, 2017 at 03:05:22PM +0800, Boqun Feng wrote: > > 1. Boqun's approach > > My approach requires(additionally): > > MAX_XHLOCKS_NR * sizeof(unsigned int) // because of the hist_id field in hist_lock > > bytes per task. > > > 2. Peterz's approach > > And Peter's approach requires(additionally): > > 1 * sizeof(unsigned int) > > bytes per task. > > So basically we need some tradeoff between memory footprints and history > precision here. I see what you intended. Then, Peterz's one looks better. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>