Skip to content

RFC do_wait() wakeup optimization

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2shift security_task_wait() from eligible_child() to wait_consider_task()kernel/exit.c+1 -60 replies
2/2change __wake_up_parent() to use filtered wakeupkernel/exit.c kernel/signal.c+21 -412 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC,PATCH 0/2] do_wait() wakeup optimization

Now that we have struct wait_opts, it is easy to solve the problems with unnecessary wakeups from __wake_up_parent(). See the previous discussion

	"+ do_wait-wakeup-optimization.patch added to -mm tree"
	http://marc.info/?t=122729873300001

However, this complicates the code a bit and adds bytes 112 to compiled code.

Ratan, Roland, do you think this optimisation is worthwhile?

Oleg.