lkml.org 
[lkml]   [2019]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] bpf: Fix preempt_enable_no_resched() abuse
On Tue, Apr 23, 2019 at 1:35 PM Peter Zijlstra <peterz@infradead.org> wrote:
>
> That one 'funnily' doesn't actually work; cond_resched() is a no-op on
> PREEMPT=y.

Uhhuh. I "knew" that, but it's one of those bitrotting things.

Which does make your argument stronger, of course. This is way too
easy to get wrong even if you think you are being careful.

I guess it could be another thing to check for with objtool, since you
have now gotten the experience with it ;)

Linus

\
 
 \ /
  Last update: 2019-04-23 22:45    [W:0.109 / U:1.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site