Re: [PATCH] mm,hwpoison: non-current task should be checked early_kill for force_early

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 15 Jan 2021 10:40:37 +0100
Oscar Salvador <osalvador@xxxxxxx> wrote:

> 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?
> 
I think you are right, to early_kill, the code wants pick the right thread of one process.


-- 
Best Regards!

Aili Yao




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux