aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
AgeCommit message (Expand)AuthorFilesLines
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
2016-02-10workqueue: handle NUMA_NO_NODE for unbound pool_workqueue lookupTejun Heo1-0/+10
2016-02-09workqueue: implement "workqueue.debug_force_rr_cpu" debug featureTejun Heo1-2/+21
2016-02-09workqueue: schedule WORK_CPU_UNBOUND work on wq_unbound_cpumask CPUsMike Galbraith1-2/+32
2016-02-09Revert "workqueue: make sure delayed work run in local cpu"Tejun Heo1-4/+4
2016-01-29workqueue: skip flush dependency checks for legacy workqueuesTejun Heo1-1/+2
2016-01-07workqueue: simplify the apply_workqueue_attrs_locked()wanghaibin1-7/+4
2015-12-08workqueue: implement lockup detectorTejun Heo1-3/+171
2015-12-08workqueue: warn if memory reclaim tries to flush !WQ_MEM_RECLAIM workqueueTejun Heo1-0/+35
2015-11-05Merge branch 'for-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-12/+14
2015-10-12workqueue: Allocate the unbound pool using local node memoryXunlei Pang1-12/+14
2015-09-30workqueue: make sure delayed work run in local cpuShaohua Li1-4/+4
2015-09-02Merge branch 'for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-1/+1
2015-08-31Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-4/+2
2015-08-12sched: Fix a race between __kthread_bind() and sched_setaffinity()Peter Zijlstra1-4/+2
2015-08-04workqueue: Make flush_workqueue() available again to non GPL modulesTim Gardner1-1/+1
2015-07-22rcu: Rename rcu_lockdep_assert() to RCU_LOCKDEP_WARN()Paul E. McKenney1-10/+10
2015-07-01Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-6/+1
2015-05-29workqueue: fix typos in commentsShailendra Verma1-4/+4
2015-05-28kernel/workqueue.c: remove ifdefs over wq_power_efficientLuis R. Rodriguez1-6/+1
2015-05-21workqueue: move flush_scheduled_work() to workqueue.hLai Jiangshan1-30/+0
2015-05-21workqueue: remove the lock from wq_sysfs_prep_attrs()Lai Jiangshan1-2/+2
2015-05-21workqueue: remove the declaration of copy_workqueue_attrs()Lai Jiangshan1-2/+0
2015-05-19workqueue: ensure attrs changes are properly synchronizedLai Jiangshan1-9/+21
2015-05-19workqueue: separate out and refactor the locking of applying attrsLai Jiangshan1-33/+45
2015-05-18workqueue: simplify wq_update_unbound_numa()Lai Jiangshan1-15/+5
2015-05-18workqueue: wq_pool_mutex protects the attrs-installationLai Jiangshan1-7/+20
2015-05-13workqueue: fix a typoChen Hanxiao1-1/+1
2015-05-11workqueue: function name in the comment differs from the real function nameGong Zhaogang1-1/+1
2015-04-30workqueue: Allow modifying low level unbound workqueue cpumaskLai Jiangshan1-9/+118
2015-04-27workqueue: Create low-level unbound workqueues cpumaskFrederic Weisbecker1-2/+27
2015-04-27workqueue: split apply_workqueue_attrs() into 3 stagesLai Jiangshan1-84/+115
2015-04-06workqueue: Reorder sysfs codeFrederic Weisbecker1-317/+318
2015-03-09workqueue: dump workqueues on sysrq-tTejun Heo1-0/+160
2015-03-09workqueue: keep track of the flushing task and pool managerTejun Heo1-0/+5
2015-03-09workqueue: make the workqueues list RCU walkableTejun Heo1-16/+31
2015-03-05workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEM...Tejun Heo1-4/+52
2015-02-13workqueue: use %*pb[l] to format bitmaps including cpumasks and nodemasksTejun Heo1-3/+2
2015-01-16workqueue: fix subtle pool management issue which can stall whole worker_poolTejun Heo1-17/+8
2014-12-08workqueue: allow rescuer thread to do more work.NeilBrown1-1/+19
2014-12-08workqueue: invert the order between pool->lock and wq_mayday_lockTejun Heo1-4/+4
2014-12-04workqueue: cosmetic update in rescuer_thread()Tejun Heo1-1/+1
2014-10-06workqueue: Use cond_resched_rcu_qs macroJoe Lawrence1-2/+1
2014-10-06workqueue: Add quiescent state between work itemsJoe Lawrence1-1/+3
2014-08-04Merge branch 'for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/p...Linus Torvalds1-3/+3
2014-08-04Merge branch 'for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-139/+61
2014-07-22workqueue: use nr_node_ids instead of wq_numa_tbl_lenLai Jiangshan1-8/+3
2014-07-22workqueue: remove the misnamed out_unlock label in get_unbound_pool()Lai Jiangshan1-2/+2