Skip to contentSkip to conversation

genirq: Add missing documentation for tot_count

PATCH-tip Waiman Long 2 participants 2 messages Feb 12, 2019 – Feb 13, 2019

lore
Share & tools
lore
#0 lore raw

Commit 1136b0728969 ("genirq: Avoid summation loops for /proc/stat") adds a new tot_count field to the irq_desc structure without documenting it. This patch adds the missing piece of documentation.

---
 include/linux/irqdesc.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/irqdesc.h +1 -0
index 875c41b..1d679fe 100644
@@ -28,6 +28,7 @@
  * @core_internal_state__do_not_mess_with_it: core internal status information
  * @depth:		disable-depth, for nested irq_disable() calls
  * @wake_depth:		enable depth, for multiple irq_set_irq_wake() callers
+ * @tot_count:		stats field for non-percpu irqs
  * @irq_count:		stats field to detect stalled irqs
  * @last_unhandled:	aging timer for unhandled count
  * @irqs_unhandled:	stats field for spurious unhandled interrupts
Signature · 1 line
1.8.3.1
#1 lore raw
genirq: Add missing documentation for tot_count
Commit-ID:  030fc443aef663df71cd834331fd8f1ec10c30c0
Gitweb:     https://git.kernel.org/tip/030fc443aef663df71cd834331fd8f1ec10c30c0
Author:     Waiman Long <[email protected]>
AuthorDate: Tue, 12 Feb 2019 09:54:13 -0500
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 13 Feb 2019 08:33:03 +0100

genirq: Add missing documentation for tot_count

Commit:

1136b0728969 ("genirq: Avoid summation loops for /proc/stat")

adds a new irq_desc::tot_count field, without documenting it. Add the missing piece of documentation.

Cc Alexey Dobriyan <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Daniel Colascione <[email protected]>
Cc Dave Chinner <[email protected]>
Cc Davidlohr Bueso <[email protected]>
Cc Kees Cook <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Marc Zyngier <[email protected]>
Cc Matthew Wilcox <[email protected]>
Cc Miklos Szeredi <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Randy Dunlap <[email protected]>
Cc Thomas Gleixner <[email protected]>
---
 include/linux/irqdesc.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/irqdesc.h +1 -0
index 875c41b23f20..1d679feff3f6 100644
@@ -28,6 +28,7 @@ struct pt_regs;
  * @core_internal_state__do_not_mess_with_it: core internal status information
  * @depth:		disable-depth, for nested irq_disable() calls
  * @wake_depth:		enable depth, for multiple irq_set_irq_wake() callers
+ * @tot_count:		stats field for non-percpu irqs
  * @irq_count:		stats field to detect stalled irqs
  * @last_unhandled:	aging timer for unhandled count
  * @irqs_unhandled:	stats field for spurious unhandled interrupts