On Fri, Jan 15, 2021 at 05:31:25PM +0800, Aili Yao wrote: > On Fri, 15 Jan 2021 17:26:22 +0800 > Aili Yao <yaoaili@xxxxxxxxxxxx> wrote: > > > > So, back to your change, if force_early was set, but the main task does not > > > match, you still want to check whether any thread belonging to the main task > > > has the policy set? > > > > > Yes. > > > Sorry, the code only loop processes, not thread. The loop in task_early_kill goes through processes, while the one in find_early_kill_thread goes through threads, right? -- Oscar Salvador SUSE L3