lkml.org 
[lkml]   [2017]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Sleeping BUG in khugepaged for i586
On Mon, 12 Jun 2017, Michal Hocko wrote:

> > These are not soft lockups, these are need_resched warnings. We monitor
> > how long need_resched has been set and when a thread takes an excessive
> > amount of time to reschedule after it has been set. A loop of 512 pages
> > with ptl contention and doing {clear,copy}_user_highpage() shows that
> > need_resched can sit without scheduling for an excessive amount of time.
>
> How much is excessive here?

We monitor anything that holds the cpu for more than 1/20th of a second,
but this specific occurrence has been observed for ~1/8th. The majority
of mm/ is quite good in this regard.

\
 
 \ /
  Last update: 2017-06-15 02:29    [W:0.123 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site