TREE_RCU-kconfig.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. This document gives a brief rationale for the TREE_RCU-related test
  2. cases, a group that includes PREEMPT_RCU.
  3. Kconfig Parameters:
  4. CONFIG_DEBUG_LOCK_ALLOC -- Do three, covering CONFIG_PROVE_LOCKING & not.
  5. CONFIG_DEBUG_OBJECTS_RCU_HEAD -- Do one.
  6. CONFIG_HOTPLUG_CPU -- Do half. (Every second.)
  7. CONFIG_HZ_PERIODIC -- Do one.
  8. CONFIG_NO_HZ_IDLE -- Do those not otherwise specified. (Groups of two.)
  9. CONFIG_NO_HZ_FULL -- Do two, one with partial CPU enablement.
  10. CONFIG_PREEMPT -- Do half. (First three and #8.)
  11. CONFIG_PROVE_LOCKING -- Do several, covering CONFIG_DEBUG_LOCK_ALLOC=y and not.
  12. CONFIG_PROVE_RCU -- Hardwired to CONFIG_PROVE_LOCKING.
  13. CONFIG_RCU_BOOST -- one of PREEMPT_RCU.
  14. CONFIG_RCU_FANOUT -- Cover hierarchy, but overlap with others.
  15. CONFIG_RCU_FANOUT_LEAF -- Do one non-default.
  16. CONFIG_RCU_FAST_NO_HZ -- Do one, but not with all nohz_full CPUs.
  17. CONFIG_RCU_NOCB_CPU -- Do three, one with no rcu_nocbs CPUs, one with
  18. rcu_nocbs=0, and one with all rcu_nocbs CPUs.
  19. CONFIG_RCU_TRACE -- Do half.
  20. CONFIG_SMP -- Need one !SMP for PREEMPT_RCU.
  21. CONFIG_RCU_EXPERT=n -- Do a few, but these have to be vanilla configurations.
  22. CONFIG_RCU_EQS_DEBUG -- Do at least one for CONFIG_NO_HZ_FULL and not.
  23. RCU-bh: Do one with PREEMPT and one with !PREEMPT.
  24. RCU-sched: Do one with PREEMPT but not BOOST.
  25. Boot parameters:
  26. nohz_full - do at least one.
  27. maxcpu -- do at least one.
  28. rcupdate.rcu_self_test_bh -- Do at least one each, offloaded and not.
  29. rcupdate.rcu_self_test_sched -- Do at least one each, offloaded and not.
  30. rcupdate.rcu_self_test -- Do at least one each, offloaded and not.
  31. rcutree.rcu_fanout_exact -- Do at least one.
  32. Kconfig Parameters Ignored:
  33. CONFIG_64BIT
  34. Used only to check CONFIG_RCU_FANOUT value, inspection suffices.
  35. CONFIG_PREEMPT_COUNT
  36. CONFIG_PREEMPT_RCU
  37. Redundant with CONFIG_PREEMPT, ignore.
  38. CONFIG_RCU_BOOST_DELAY
  39. Inspection suffices, ignore.
  40. CONFIG_RCU_CPU_STALL_TIMEOUT
  41. Inspection suffices, ignore.
  42. CONFIG_RCU_STALL_COMMON
  43. Implied by TREE_RCU and PREEMPT_RCU.
  44. CONFIG_RCU_TORTURE_TEST
  45. CONFIG_RCU_TORTURE_TEST_RUNNABLE
  46. Always used in KVM testing.
  47. CONFIG_PREEMPT_RCU
  48. CONFIG_TREE_RCU
  49. CONFIG_TINY_RCU
  50. CONFIG_TASKS_RCU
  51. These are controlled by CONFIG_PREEMPT and/or CONFIG_SMP.
  52. CONFIG_SRCU
  53. Selected by CONFIG_RCU_TORTURE_TEST, so cannot disable.
  54. boot parameters ignored: TBD