[PATCH v3 0/2] tick/nohz: avoid showing '(null)' if nohz_full= not set

Aaron Tomlin posted 2 patches 2 months, 1 week ago
drivers/base/cpu.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
[PATCH v3 0/2] tick/nohz: avoid showing '(null)' if nohz_full= not set
Posted by Aaron Tomlin 2 months, 1 week ago
Hi Nathan, Greg,

Thank you for your feedback so far.


Changes since v2 [1]

 - Removed unnecessary else statement (Nathan Chancellor)
 - Used cpumask_available() instead (Nathan Chancellor)
 - Used DEVICE_ATTR_RO for nohz_full attribute

Changes since v1 [2]

 - Refactor to use an if statement (Greg KH)

[1]: https://lore.kernel.org/lkml/20251007012504.16118-2-atomlin@atomlin.com/
[2]: https://lore.kernel.org/lkml/20251007012504.16118-1-atomlin@atomlin.com/

Aaron Tomlin (2):
  sysfs/cpu: Use DEVICE_ATTR_RO for nohz_full attribute
  tick/nohz: avoid showing '(null)' if nohz_full= not set

 drivers/base/cpu.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

-- 
2.49.0