Re: [PATCHv2] mm: khugepaged: make scan loops suspend aware
From: Sergey Senozhatsky
Date: Thu Feb 12 2026 - 04:24:52 EST
On (26/02/12 10:10), David Hildenbrand (Arm) wrote:
> > Interesting, so 1dfb059b9438633 and 878aee7d6b5504e fixed real
> > problems "khugepaged can sometimes cause suspend to fail", but
> > I don't see what exactly b39ca208403c8f2 fixed. Sounds more
> > like an "optimization"?
>
> Yes, a cleanup. I wonder if it caused harm.
6.6 stable doesn't have b39ca208403c8f2 - khugepaged_do_scan() checks
both kthread_should_stop() and try_to_freeze().