Skip to content

RFC allow overriding default preempt mode from command line

Michal Hocko linux-alpha linux-hexagon linux-m68k linux-um lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 RFC Latest5 patches 6 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5jump_label: split out declaration parts into its own headersinclude/linux/jump_label.h include/linux/jump_label_type.h+50 -430 replies
2/5kernel: allow to configure PREEMPT_NONE, PREEMPT_VOLUNTARY on kernel command lineDocumentation/admin-guide/kernel-parameters.txt include/linux/gpio/consumer.h include/linux/kernel.h +1 more+47 -20 replies
3/5kernel: ARCH_NO_PREEMPT shouldn't exclude PREEMPT_VOLUNTARYkernel/Kconfig.preempt+0 -10 replies
4/5kernel: introduce CONFIG_PREEMPT_DYNAMICinclude/linux/kernel.h include/linux/sched.h kernel/Kconfig.preempt +1 more+42 -150 replies
5/5kernel: drop PREEMPT_NONE compile time optionkernel/Kconfig.preempt+4 -170 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [RFC PATCH v2 0/5] allow overriding default preempt mode from command line

Hi,
let me repost the pile that has grown from the initial patch based on the review feedback I have collected from Peter. I do realize that he also suggested to go from the other direction and implement this for the full preemption mode first. As I've said I believe this would require to examine all CONFIG_PREEMPTION code paths and preempt_mode=[none,voluntary] is already quite useful for distributions which are targeting high throuhput and desktop environments. Adding full preemption on top is definitely desirable and something we will be looking into. This is the first step in that direction.

If maintainers really believe that starting from the full preemption mode first then we are willing to explore that path of course.

I am stil posting that as an RFC because I didn't get to push this through a complete compile time testing and rely on 0-day bot in that aspect.

Thanks and I am looking forward for a further feedback.