lkml.org 
[lkml]   [2019]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: WARNING in __mmdrop
From
Date

On 2019/7/30 下午3:44, Jason Wang wrote:
>>>
>>> }
>> Looks good but I'd like to think of a strategy/existing lock that let us
>> block properly as opposed to spinning, that would be more friendly to
>> e.g. the realtime patch.
>
>
> Does it make sense to disable preemption in the critical section? Then
> we don't need to block and we have a deterministic time spent on
> memory accssors?


Ok, touching preempt counter seems a little bit expensive in the fast
path. Will try for blocking.

Thanks

\
 
 \ /
  Last update: 2019-07-30 10:04    [W:0.095 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site