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.

workqueue: Update documentation as per system_percpu_wq naming

Update documentation to use "per-CPU workqueue" instead of
"global workqueue" to match the system_wq to system_percpu_wq
rename. The workqueue behavior remains unchanged; this just
aligns terminology with the clearer naming.

Fixes: a2be943b46b4 ("workqueue: replace use of system_wq with system_percpu_wq")
Signed-off-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Mallesh Koujalagi and committed by
Tejun Heo
4a91a33f 6de23f81

+8 -8
+8 -8
include/linux/workqueue.h
··· 712 712 } 713 713 714 714 /** 715 - * schedule_work - put work task in global workqueue 715 + * schedule_work - put work task in per-CPU workqueue 716 716 * @work: job to be done 717 717 * 718 - * Returns %false if @work was already on the kernel-global workqueue and 718 + * Returns %false if @work was already on the system per-CPU workqueue and 719 719 * %true otherwise. 720 720 * 721 - * This puts a job in the kernel-global workqueue if it was not already 722 - * queued and leaves it in the same position on the kernel-global 721 + * This puts a job in the system per-CPU workqueue if it was not already 722 + * queued and leaves it in the same position on the system per-CPU 723 723 * workqueue otherwise. 724 724 * 725 725 * Shares the same memory-ordering properties of queue_work(), cf. the ··· 796 796 }) 797 797 798 798 /** 799 - * schedule_delayed_work_on - queue work in global workqueue on CPU after delay 799 + * schedule_delayed_work_on - queue work in per-CPU workqueue on CPU after delay 800 800 * @cpu: cpu to use 801 801 * @dwork: job to be done 802 802 * @delay: number of jiffies to wait 803 803 * 804 - * After waiting for a given time this puts a job in the kernel-global 804 + * After waiting for a given time this puts a job in the system per-CPU 805 805 * workqueue on the specified CPU. 806 806 */ 807 807 static inline bool schedule_delayed_work_on(int cpu, struct delayed_work *dwork, ··· 811 811 } 812 812 813 813 /** 814 - * schedule_delayed_work - put work task in global workqueue after delay 814 + * schedule_delayed_work - put work task in per-CPU workqueue after delay 815 815 * @dwork: job to be done 816 816 * @delay: number of jiffies to wait or 0 for immediate execution 817 817 * 818 - * After waiting for a given time this puts a job in the kernel-global 818 + * After waiting for a given time this puts a job in the system per-CPU 819 819 * workqueue. 820 820 */ 821 821 static inline bool schedule_delayed_work(struct delayed_work *dwork,