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

From: Aaron Tomlin
Date: Fri Oct 10 2025 - 21:18:49 EST


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@xxxxxxxxxxx/
[2]: https://lore.kernel.org/lkml/20251007012504.16118-1-atomlin@xxxxxxxxxxx/

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