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.

Merge tag 'wq-for-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq

Pull workqueue update from Tejun Heo:
"Just one commit to expose system BH workqueues to rust"

* tag 'wq-for-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
rust: workqueue: define built-in bh queues

+18
+18
rust/kernel/workqueue.rs
··· 703 703 // SAFETY: `system_freezable_power_efficient_wq` is a C global, always available. 704 704 unsafe { Queue::from_raw(bindings::system_freezable_power_efficient_wq) } 705 705 } 706 + 707 + /// Returns the system bottom halves work queue (`system_bh_wq`). 708 + /// 709 + /// It is similar to the one returned by [`system`] but for work items which 710 + /// need to run from a softirq context. 711 + pub fn system_bh() -> &'static Queue { 712 + // SAFETY: `system_bh_wq` is a C global, always available. 713 + unsafe { Queue::from_raw(bindings::system_bh_wq) } 714 + } 715 + 716 + /// Returns the system bottom halves high-priority work queue (`system_bh_highpri_wq`). 717 + /// 718 + /// It is similar to the one returned by [`system_bh`] but for work items which 719 + /// require higher scheduling priority. 720 + pub fn system_bh_highpri() -> &'static Queue { 721 + // SAFETY: `system_bh_highpri_wq` is a C global, always available. 722 + unsafe { Queue::from_raw(bindings::system_bh_highpri_wq) } 723 + }