On Mon, Jan 08, 2018 at 05:12:17PM +0100, Willy Tarreau wrote:> + if (doit) {> + if (arg2)> + task_thread_info(task)->flags |= _TIF_NOPTI;> + else> + task_thread_info(task)->flags &= ~_TIF_NOPTI;{set,clear}_thread_flag() please, the above is not SMP safe.