Messages in this thread | | | Date | Mon, 15 Nov 2021 17:07:20 +0100 | From | Peter Zijlstra <> | Subject | Re: [GIT pull] timers/urgent for v5.16-rc1 |
| |
On Mon, Nov 15, 2021 at 04:51:34PM +0100, Peter Zijlstra wrote: > diff --git a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c > index 96b4e7810426..3352759e6916 100644 > --- a/kernel/time/posix-cpu-timers.c > +++ b/kernel/time/posix-cpu-timers.c > @@ -1167,8 +1167,6 @@ void clear_posix_cputimers_work(struct task_struct *p) > * A copied work entry from the old task is not meaningful, clear it. > * N.B. init_task_work will not do this. > */ > - memset(&p->posix_cputimers_work.work, 0, > - sizeof(p->posix_cputimers_work.work));
Also, clearly that comments needs to go..
> init_task_work(&p->posix_cputimers_work.work, > posix_cpu_timers_work); > p->posix_cputimers_work.scheduled = false;
| |