lkml.org 
[lkml]   [2020]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch V2 3/5] posix-cpu-timers: Provide mechanisms to defer timer handling to task_work
Date
Peter Zijlstra <peterz@infradead.org> writes:
> On Thu, Jul 16, 2020 at 10:19:26PM +0200, Thomas Gleixner wrote:
>> +static void __run_posix_cpu_timers(struct task_struct *tsk)
>> +{
>> + struct posix_cputimers *pct = &tsk->posix_cputimers;
>> +
>> + if (!test_and_set_bit(CPUTIMERS_WORK_SCHEDULED, &pct->flags))
>> + task_work_add(tsk, &pct->task_work, true);
>
> s/true/TWA_RESUME/g
>
> see: e91b48162332 ("task_work: teach task_work_add() to do signal_wake_up()")

Duh, yes.

\
 
 \ /
  Last update: 2020-07-17 20:38    [W:0.109 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site