aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
AgeCommit message (Expand)AuthorFilesLines
2022-04-21workqueue: Restrict kworker in the offline CPU pool running on housekeeping CPUsZqiang1-1/+1
2022-03-23Merge branch 'for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-38/+20
2022-02-16sched/isolation: Use single feature type while referring to housekeeping cpumaskFrederic Weisbecker1-2/+2
2022-02-16workqueue: Decouple HK_FLAG_WQ and HK_FLAG_DOMAIN cpumask fetchFrederic Weisbecker1-2/+2
2022-01-12workqueue: Convert the type of pool->nr_running to intLai Jiangshan1-13/+16
2022-01-12workqueue: Use wake_up_worker() in wq_worker_sleeping() instead of open codeLai Jiangshan1-6/+3
2022-01-12workqueue: Change the comments of the synchronization about the idle_listLai Jiangshan1-9/+2
2022-01-12workqueue: Remove the mb() pair between wq_worker_sleeping() and insert_work()Lai Jiangshan1-11/+0
2022-01-10Merge branch 'workqueue/for-5.16-fixes' into workqueue/for-5.17Tejun Heo1-1/+21
2021-12-09workqueue: Remove the cacheline_aligned for nr_runningLai Jiangshan1-8/+4
2021-12-09workqueue: Move the code of waking a worker up in unbind_workers()Lai Jiangshan1-23/+15
2021-12-09workqueue: Remove schedule() in unbind_workers()Lai Jiangshan1-8/+3
2021-12-09workqueue: Remove outdated comment about exceptional workers in unbind_workers()Lai Jiangshan1-3/+1
2021-12-09workqueue: Remove the advanced kicking of the idle workers in rebind_workers()Lai Jiangshan1-11/+0
2021-12-09workqueue: Remove the outdated comment before wq_worker_sleeping()Lai Jiangshan1-2/+1
2021-12-02workqueue: Fix unbind_workers() VS wq_worker_sleeping() raceFrederic Weisbecker1-0/+10
2021-12-02workqueue: Fix unbind_workers() VS wq_worker_running() raceFrederic Weisbecker1-0/+9
2021-12-01workqueue: Upgrade queue_work_on() commentPaul E. McKenney1-1/+2
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2021-11-06workqueue, kasan: avoid alloc_pages() when recording stackMarco Elver1-1/+1
2021-10-20workqueue: Introduce show_one_worker_pool and show_one_workqueue.Imran Khan1-76/+96
2021-10-19workqueue: make sysfs of unbound kworker cpumask more cleverMenglong Dong1-4/+11
2021-10-11workqueue: fix state-dump console deadlockJohan Hovold1-2/+16
2021-08-17workqueue: Assign a color to barrier work itemsLai Jiangshan1-8/+12
2021-08-17workqueue: Mark barrier work with WORK_STRUCT_INACTIVELai Jiangshan1-8/+34
2021-08-17workqueue: Change the code of calculating work_flags in insert_wq_barrier()Lai Jiangshan1-4/+3
2021-08-17workqueue: Change arguement of pwq_dec_nr_in_flight()Lai Jiangshan1-8/+10
2021-08-17workqueue: Rename "delayed" (delayed by active management) to "inactive"Lai Jiangshan1-29/+29
2021-08-09workqueue: Replace deprecated CPU-hotplug functions.Sebastian Andrzej Siewior1-11/+11
2021-08-09workqueue: Replace deprecated ida_simple_*() with ida_alloc()/ida_free()Zhen Lei1-7/+6
2021-08-09workqueue: Fix typo in commentsCai Huoqing1-3/+3
2021-07-29workqueue: Fix possible memory leaks in wq_numa_init()Zhen Lei1-5/+7
2021-07-21workqueue: fix UAF in pwq_unbound_release_workfn()Yang Yingliang1-7/+13
2021-05-20wq: handle VM suspension in stall detectionSergey Senozhatsky1-2/+10
2021-04-27Merge tag 'cfi-v5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ke...Linus Torvalds1-1/+1
2021-04-08workqueue: use WARN_ON_FUNCTION_MISMATCHSami Tolvanen1-1/+1
2021-04-04workqueue/watchdog: Make unbound workqueues aware of touch_softlockup_watchdog()Wang Qing1-11/+6
2021-04-04workqueue: Move the position of debug_work_activate() in __queue_work()Zqiang1-1/+1
2021-02-22Merge branch 'for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-2/+2
2021-01-27workqueue: Use %s instead of function nameStephen Zhang1-2/+2
2021-01-22workqueue: Restrict affinity change to rescuerPeter Zijlstra1-6/+3
2021-01-22workqueue: Tag bound workers with KTHREAD_IS_PER_CPUPeter Zijlstra1-2/+9
2021-01-22workqueue: Use cpu_possible_mask instead of cpu_active_mask to break affinityLai Jiangshan1-1/+1
2020-12-28Merge branch 'for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-3/+10
2020-12-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+3
2020-12-15workqueue: kasan: record workqueue stackWalter Wu1-0/+3
2020-11-25workqueue: Kick a worker based on the actual activation of delayed worksYunfeng Ye1-3/+10
2020-11-10workqueue: Manually break affinity on hotplugPeter Zijlstra1-0/+4
2020-10-16workqueue: fix a kernel-doc warningMauro Carvalho Chehab1-0/+3
2020-09-24treewide: Make all debug_obj_descriptors constStephen Boyd1-2/+2
2020-06-17maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofaultChristoph Hellwig1-5/+5
2020-06-01workqueue: use BUILD_BUG_ON() for compile time test instead of WARN_ON()Lai Jiangshan1-1/+1
2020-05-29workqueue: remove useless unlock() and lock() in seriesLai Jiangshan1-2/+0
2020-05-29workqueue: void unneeded requeuing the pwq in rescuer threadLai Jiangshan1-1/+1
2020-05-29workqueue: Convert the pool::lock and wq_mayday_lock to raw_spinlock_tSebastian Andrzej Siewior1-88/+88
2020-05-29workqueue: Use rcuwait for wq_manager_waitSebastian Andrzej Siewior1-5/+19
2020-05-27workqueue: Remove unnecessary kfree() call in rcu_free_wq()Zhang Qiang1-1/+0
2020-05-11workqueue: Fix an use after free in init_rescuer()Dan Carpenter1-1/+3
2020-05-05workqueue: Use IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO.Sean Fu1-4/+2
2020-04-08workqueue: Remove the warning in wq_worker_sleeping()Sebastian Andrzej Siewior1-2/+4
2020-04-03Merge branch 'for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-8/+4
2020-03-12workqueue: Mark up unlocked access to wq->first_flusherChris Wilson1-2/+2
2020-03-10workqueue: don't use wq_select_unbound_cpu() for bound worksHillf Danton1-6/+8
2020-03-04workqueue: Make workqueue_init*() return voidYu Chen1-6/+2
2020-01-28Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2020-01-15workqueue: add worker function to workqueue_execute_end tracepointDaniel Jordan1-1/+1
2019-12-25Merge tag 'v5.5-rc3' into sched/core, to pick up fixesIngo Molnar1-2/+2
2019-12-08sched/rt, workqueue: Use PREEMPTIONSebastian Andrzej Siewior1-1/+1
2019-12-06workqueue: Use pr_warn instead of pr_warningKefeng Wang1-2/+2
2019-11-26Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-8/+1
2019-11-15workqueue: Add RCU annotation for pwq list walkSebastian Andrzej Siewior1-1/+2
2019-10-30workqueue: Convert for_each_wq to use built-in list checkJoel Fernandes (Google)1-8/+2
2019-10-04workqueue: Fix pwq ref leak in rescuer_thread()Tejun Heo1-5/+12
2019-10-04workqueue: more destroy_workqueue() fixesTejun Heo1-14/+31
2019-09-20workqueue: Minor follow-ups to the rescuer destruction changeTejun Heo1-2/+2
2019-09-20workqueue: Fix missing kfree(rescuer) in destroy_workqueue()Tejun Heo1-0/+1
2019-09-18workqueue: Fix spurious sanity check failures in destroy_workqueue()Tejun Heo1-5/+19
2019-09-13workqueue: require CPU hotplug read exclusion for apply_workqueue_attrsDaniel Jordan1-5/+14
2019-09-13workqueue: unconfine alloc/apply/free_workqueue_attrs()Daniel Jordan1-3/+3
2019-06-27workqueue: Remove GPF argument from alloc_workqueue_attrs()Thomas Gleixner1-12/+11
2019-06-27workqueue: Make alloc/apply/free_workqueue_attrs() staticThomas Gleixner1-4/+3
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-09Merge branch 'for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-42/+53
2019-05-07Merge tag 'printk-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-6/+6
2019-04-16sched/core, workqueues: Distangle worker accounting from rq lockThomas Gleixner1-30/+24
2019-04-09treewide: Switch printk users from %pf and %pF to %ps and %pS, respectivelySakari Ailus1-6/+6
2019-04-08workqueue: Use normal rcuThomas Gleixner1-42/+51
2019-03-21workqueue: Only unregister a registered lockdep keyBart Van Assche1-2/+3
2019-03-19kernel/workqueue: Document wq_worker_last_func() argumentBart Van Assche1-0/+1
2019-03-15kernel/workqueue: Use __printf markup to silence compiler in function 'alloc_...Mathieu Malaterre1-0/+1
2019-03-10Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-0/+4
2019-03-09workqueue, lockdep: Fix a memory leak in wq->lock_nameQian Cai1-0/+2
2019-03-09workqueue, lockdep: Fix an alloc_workqueue() error pathBart Van Assche1-0/+2
2019-03-07Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+10
2019-03-07kernel: workqueue: clarify wq_worker_last_func() caller requirementsJohannes Weiner1-0/+10
2019-03-07Merge branch 'for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-3/+6
2019-03-06Merge tag 'driver-core-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+84
2019-03-05workqueue: Fix spelling in source code commentsBart Van Assche1-2/+2
2019-02-28kernel/workqueue: Use dynamic lockdep keys for workqueuesBart Van Assche1-9/+50
2019-02-21workqueue: fix typo in commentLiu Song1-1/+1
2019-02-11Merge 5.0-rc6 into driver-core-nextGreg Kroah-Hartman1-0/+23
2019-02-01psi: fix aggregation idle shut-offJohannes Weiner1-0/+23
2019-01-31workqueue: Provide queue_work_node to queue work near a given NUMA nodeAlexander Duyck1-0/+84
2019-01-25workqueue: Try to catch flush_work() without INIT_WORK().Tetsuo Handa1-0/+3
2018-11-27workqueue: Replace call_rcu_sched() with call_rcu()Paul E. McKenney1-4/+4
2018-08-30watchdog: Mark watchdog touch functions as notraceVincent Whitchurch1-1/+1
2018-08-24Merge branch 'for-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-15/+30
2018-08-22workqueue: re-add lockdep dependencies for flushingJohannes Berg1-0/+8
2018-08-22workqueue: skip lockdep wq dependency in cancel_work_sync()Johannes Berg1-15/+22
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-06-10Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+1
2018-06-06Merge tag 'overflow-v4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+1
2018-06-06treewide: Use struct_size() for kmalloc()-familyKees Cook1-2/+1
2018-05-23workqueue: move function definitions within CONFIG_SMP blockMathieu Malaterre1-2/+2
2018-05-21workqueue: Make sure struct worker is accessible for wq_worker_comm()Tejun Heo1-24/+34
2018-05-18workqueue: Show the latest workqueue name in /proc/PID/{comm,stat,status}Tejun Heo1-0/+39
2018-05-18workqueue: Set worker->desc to workqueue name by defaultTejun Heo1-11/+10
2018-05-18workqueue: Make worker_attach/detach_pool() update worker->poolTejun Heo1-8/+8
2018-05-18workqueue: Replace pool->attach_mutex with global wq_pool_attach_mutexTejun Heo1-21/+20
2018-05-18scsi: zfcp: workqueue: set description for port work items with their WWPN as...Steffen Maier1-0/+1
2018-04-03Merge branch 'for-4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-4/+56
2018-03-20workqueue: remove the comment about the old manager_arb mutexLai Jiangshan1-1/+0
2018-03-20workqueue: fix the comments of nr_idleLai Jiangshan1-3/+2
2018-03-20Merge branch 'linus' into sched/core, to pick up fixesIngo Molnar1-9/+1
2018-03-19RCU, workqueue: Implement rcu_workTejun Heo1-0/+54
2018-03-13workqueue: remove unused cancel_work()Stephen Hemminger1-8/+0
2018-03-13workqueue: use put_device() instead of kfree()Arvind Yadav1-1/+1
2018-03-09Merge branch 'linus' into sched/core, to pick up fixesIngo Molnar1-0/+16
2018-02-22Merge tag 'drm-misc-fixes-2018-02-21' of git://anongit.freedesktop.org/drm/dr...Dave Airlie1-0/+16
2018-02-21sched/isolation: Isolate workqueues when "nohz_full=" is setFrederic Weisbecker1-1/+2
2018-02-16workqueue: Allow retrieval of current task's work structLukas Wunner1-0/+16
2018-02-01Merge tag 'staging-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+1
2018-01-30Merge branch 'for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-24/+40
2018-01-30Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2018-01-15staging: lustre: lnet: convert selftest to use workqueuesNeilBrown1-0/+1
2018-01-12workqueue: avoid hard lockups in show_workqueue_state()Sergey Senozhatsky1-0/+13
2018-01-08workqueue: allow WQ_MEM_RECLAIM on early init workqueuesTejun Heo1-2/+8
2018-01-08workqueue: separate out init_rescuer()Tejun Heo1-23/+33
2018-01-03Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-1/+1
2017-12-11workqueue: remove unneeded kallsyms includeSergey Senozhatsky1-1/+0
2017-12-04workqueue/hotplug: remove the workaround in rebind_workers()Lai Jiangshan1-10/+0
2017-12-04workqueue/hotplug: simplify workqueue_offline_cpu()Lai Jiangshan1-9/+6
2017-12-04workqueue: Eliminate cond_resched_rcu_qs() in favor of cond_resched()Paul E. McKenney1-1/+1
2017-11-27workqueue: respect isolated cpus when queueing an unbound workTal Shorer1-1/+6
2017-11-21treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE castsKees Cook1-1/+1
2017-11-15Merge branch 'for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-1/+2
2017-11-13Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-17/+12
2017-11-08workqueue: Use lockdep to assert IRQs are disabled/enabledFrederic Weisbecker1-1/+1
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar1-22/+15
2017-11-06workqueue: Fix comment for unbound workqueue's attrbutesWang Long1-1/+2
2017-11-03Revert "workqueue: respect isolated cpus when queueing an unbound work"Tejun Heo1-5/+1
2017-10-25workqueue: Remove now redundant lock acquisitions wrt. workqueue flushesByungchul Park1-16/+3
2017-10-25locking/atomics, workqueue: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE()Mark Rutland1-2/+2
2017-10-21workqueue: respect isolated cpus when queueing an unbound workTal Shorer1-1/+5
2017-10-18workqueue: Convert timers to use timer_setup() (part 2)Kees Cook1-8/+6
2017-10-10workqueue: replace pool->manager_arb mutex with a flagTejun Heo1-22/+15
2017-10-05workqueue: Convert callback to use from_timer()Kees Cook1-4/+3
2017-10-05timer: Remove users of TIMER_DEFERRED_INITIALIZERKees Cook1-5/+3
2017-09-06Merge branch 'for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-3/+3
2017-09-05Merge branch 'for-4.13-fixes' into for-4.14Tejun Heo1-4/+26
2017-08-29locking/lockdep: Untangle xhlock history save/restore from task independencePeter Zijlstra1-5/+4
2017-08-25locking/lockdep: Fix workqueue crossrelease annotationPeter Zijlstra1-1/+22
2017-08-25workqueue/lockdep: 'Fix' flush_work() annotationPeter Zijlstra1-9/+11
2017-08-23workqueue: Use TASK_IDLEPeter Zijlstra1-2/+2
2017-08-17locking/lockdep: Explicitly initialize wq_barrier::done::mapBoqun Feng1-1/+10
2017-08-10locking/lockdep: Implement the 'crossrelease' featureByungchul Park1-0/+2
2017-08-07workqueue: fix path to documentationBenjamin Peterson1-1/+1
2017-07-28workqueue: Work around edge cases for calc of pool's cpumaskMichael Bringmann1-0/+7
2017-07-25workqueue: implicit ordered attribute should be overridableTejun Heo1-4/+9
2017-07-19workqueue: restore WQ_UNBOUND/max_active==1 to be orderedTejun Heo1-0/+10
2017-06-20sched/wait: Rename wait_queue_t => wait_queue_entry_tIngo Molnar1-2/+2
2017-05-01Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+23
2017-05-01Merge branch 'for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-3/+2
2017-04-15workqueue: Provide work_on_cpu_safe()Thomas Gleixner1-0/+23
2017-03-06workqueue: use setup_deferrable_timerGeliang Tang1-3/+2
2017-03-06workqueue: trigger WARN if queue_delayed_work() is called with NULL @wqTejun Heo1-0/+1
2017-02-10time: Remove CONFIG_TIMER_STATSKees Cook1-2/+0
2016-10-19Merge branch 'for-4.9' into for-4.10Tejun Heo1-18/+85
2016-10-19workqueue: move wq_numa_init() to workqueue_init()Tejun Heo1-2/+23
2016-10-11kthread: rename probe_kthread_data() to kthread_probe_data()Petr Mladek1-1/+1
2016-09-17workqueue: remove keventd_up()Tejun Heo1-1/+1
2016-09-17workqueue: make workqueue available early during bootTejun Heo1-16/+60
2016-09-16workqueue: dump workqueue state on sanity check failures in destroy_workqueue()Tejun Heo1-0/+2
2016-08-29workqueue: add cancel_work()Jens Axboe1-14/+26
2016-07-29Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-65/+43
2016-07-25Merge branches 'pm-sleep' and 'pm-tools'Rafael J. Wysocki1-2/+2
2016-07-14workqueue: Convert to state machine callbacksThomas Gleixner1-65/+43
2016-07-02PM / suspend: show workqueue state in suspend flowRoger Lu1-2/+2
2016-06-16workqueue: Fix setting affinity of unbound worker threadsPeter Zijlstra1-5/+1
2016-05-19debugobjects: insulate non-fixup logic related to static obj from fixup callb...Du, Changbin1-34/+8
2016-05-19workqueue: update debugobjects fixup callbacks return typeDu, Changbin1-10/+10
2016-05-13Merge branch 'for-4.6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+11
2016-05-12workqueue: fix rebind bound workers warningWanpeng Li1-0/+11
2016-04-27Merge branch 'for-4.6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+29
2016-04-26workqueue: fix ghost PENDING flag while doing MQ IORoman Pen1-0/+29
2016-03-18Merge branch 'for-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-5/+4
2016-03-15tags: Fix DEFINE_PER_CPU expansionsPeter Zijlstra1-2/+1
2016-03-11workqueue: Fix comment for work_on_cpu()Anna-Maria Gleixner1-1/+1
2016-03-02sched/core: Get rid of 'cpu' argument in wq_worker_sleeping()Alexander Gordeev1-3/+2
2016-02-17workqueue: Replace usage of init_name with dev_set_name()Lars-Peter Clausen1-1/+1