Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: proc: remove description of prof_cpu_mask

Commit 2e5449f4f21a ("profiling: Remove create_prof_cpu_mask().") said that
no one would create /proc/irq/prof_cpu_mask since commit 1f44a225777e
("s390: convert interrupt handling to use generic hardirq", 2013). Remove
the outdated description.

While at it, fix another minor typo (s/DMS/DMA/).

Signed-off-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260311070940.94838-1-zenghui.yu@linux.dev>

authored by

Zenghui Yu (Huawei) and committed by
Jonathan Corbet
4663a5a2 999084ee

+4 -8
+4 -8
Documentation/filesystems/proc.rst
··· 743 743 in the kernel image 744 744 cpuinfo Info about the CPU 745 745 devices Available devices (block and character) 746 - dma Used DMS channels 746 + dma Used DMA channels 747 747 filesystems Supported filesystems 748 748 driver Various drivers grouped here, currently rtc (2.4) 749 749 execdomains Execdomains, related to security (2.4) ··· 877 877 Of some interest is the introduction of the /proc/irq directory to 2.4. 878 878 It could be used to set IRQ to CPU affinity. This means that you can "hook" an 879 879 IRQ to only one CPU, or to exclude a CPU of handling IRQs. The contents of the 880 - irq subdir is one subdir for each IRQ, and two files; default_smp_affinity and 881 - prof_cpu_mask. 880 + irq subdir is one subdir for each IRQ, and default_smp_affinity. 882 881 883 882 For example:: 884 883 885 884 > ls /proc/irq/ 886 - 0 10 12 14 16 18 2 4 6 8 prof_cpu_mask 887 - 1 11 13 15 17 19 3 5 7 9 default_smp_affinity 885 + 0 10 12 14 16 18 2 4 6 8 default_smp_affinity 886 + 1 11 13 15 17 19 3 5 7 9 888 887 > ls /proc/irq/0/ 889 888 smp_affinity 890 889 ··· 913 914 The node file on an SMP system shows the node to which the device using the IRQ 914 915 reports itself as being attached. This hardware locality information does not 915 916 include information about any possible driver locality preference. 916 - 917 - prof_cpu_mask specifies which CPUs are to be profiled by the system wide 918 - profiler. Default value is ffffffff (all CPUs if there are only 32 of them). 919 917 920 918 The way IRQs are routed is handled by the IO-APIC, and it's Round Robin 921 919 between all the CPUs which are allowed to handle it. As usual the kernel has