Skip to content

posix-timers: sys_timer_create: fix and cleanups

Oleg Nesterov lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4posix-timers: sys_timer_create: remove the buggy PF_EXITING checkkernel/posix-timers.c+7 -270 replies
2/4posix-timers: sys_timer_create: simplify and s/tasklist/rcu/kernel/posix-timers.c+8 -150 replies
3/4posix-timers: move the initialization of timer->sigq from send to create pathkernel/posix-timers.c+5 -50 replies
4/4posix-timers: sys_timer_create: cleanup the error handlingkernel/posix-timers.c+7 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] posix-timers: sys_timer_create: fix and cleanups

On top of

	[PATCH 1/3] posix-timers: don't switch to ->group_leader if ->it_process dies
	http://marc.info/?l=linux-kernel&m=121778560719812

	[PATCH 2/3] posix-timers: always do get_task_struct(timer->it_process)
	http://marc.info/?l=linux-kernel&m=121778560719816

checkpatch.pl criticizes the first patch (line over 80 characters), but that line was just moved by this patch. Not sure what should be done in such a case, but this line is killed by the next patch anyway.

I don't know how to test these changes. Fortunately they are rather simple, and the first patch obviously fixes the bug.

Oleg.