aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kthread.c
AgeCommit message (Expand)AuthorFilesLines
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+18
2023-10-04kthread: add kthread_stop_putAndreas Gruenbacher1-0/+18
2023-10-04mm: remove remnants of SPLIT_RSS_COUNTINGMateusz Guzik1-1/+0
2023-08-18kthread: unexport __kthread_should_park()Greg Kroah-Hartman1-2/+1
2023-06-28Merge tag 'mm-nonmm-stable-2023-06-24-19-23' of git://git.kernel.org/pub/scm/...Linus Torvalds1-2/+2
2023-06-16sched/wait: Fix a kthread_park race with wait_woken()Arve Hjønnevåg1-0/+10
2023-06-09kthread: fix spelling typo and grammar in commentsPrathu Baronia1-2/+2
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-9/+13
2023-03-28lazy tlb: introduce lazy tlb mm refcount helper functionsNicholas Piggin1-2/+10
2023-03-28kthread: simplify kthread_use_mm refcountingNicholas Piggin1-9/+5
2023-03-12kthread: Pass in the thread's name during creationMike Christie1-21/+11
2023-03-12kernel: Allow a kernel thread's name to be set in copy_processMike Christie1-1/+2
2023-02-02kthread_worker: check all delayed works when destroy kthread workerZqiang1-0/+5
2022-10-09Merge tag 'interrupting_kthread_stop-for-v5.20' of git://git.kernel.org/pub/s...Linus Torvalds1-0/+1
2022-09-26treewide: Drop WARN_ON_FUNCTION_MISMATCHSami Tolvanen1-2/+1
2022-07-18signal: break out of wait loops on kthread_stop()Jason A. Donenfeld1-0/+1
2022-06-16kthread: make it clear that kthread_create_on_node() might be terminated by a...Petr Mladek1-7/+7
2022-05-02kthread: unexport kthread_blkcgChristoph Hellwig1-1/+0
2022-03-23Merge tag 'asm-generic-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-5/+0
2022-02-25uaccess: remove CONFIG_SET_FSArnd Bergmann1-5/+0
2022-02-16sched/isolation: Use single feature type while referring to housekeeping cpumaskFrederic Weisbecker1-2/+2
2022-01-20Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+30
2022-01-20kthread: dynamically allocate memory to store kthread's full nameYafang Shao1-2/+30
2022-01-17Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-28/+60
2022-01-15kthread: add the helper function kthread_run_on_cpu()Cai Huoqing1-0/+1
2022-01-08kthread: Generalize pf_io_worker so it can point to struct kthreadEric W. Biederman1-9/+5
2021-12-14exit/kthread: Fix the kerneldoc comment for kthread_complete_and_exitEric W. Biederman1-1/+1
2021-12-13exit/kthread: Move the exit code for kernel threads into struct kthreadEric W. Biederman1-2/+5
2021-12-13kthread: Ensure struct kthread is present for all kthreadsEric W. Biederman1-17/+14
2021-12-13exit: Rename complete_and_exit to kthread_complete_and_exitEric W. Biederman1-0/+21
2021-12-13exit: Implement kthread_exitEric W. Biederman1-4/+19
2021-11-10Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2021-10-29exit/kthread: Have kernel threads return instead of calling do_exitEric W. Biederman1-1/+1
2021-10-05kthread: Move prio/affinite change into the newly created threadSebastian Andrzej Siewior1-8/+8
2021-06-29Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-7/+12
2021-06-29kthread_worker: fix return value when kthread_mod_delayed_work() races with k...Petr Mladek1-7/+12
2021-06-28Merge tag 'sched-core-2021-06-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-14/+20
2021-06-24kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_...Petr Mladek1-11/+24
2021-06-24kthread_worker: split code for canceling the delayed work timerPetr Mladek1-17/+29
2021-06-18sched: Change task_struct::statePeter Zijlstra1-2/+2
2021-05-18sched: Make the idle task quack like a per-CPU kthreadValentin Schneider1-12/+18
2021-04-28Merge tag 'sched-core-2021-04-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-6/+27
2021-04-21kthread: Fix PF_KTHREAD vs to_kthread() racePeter Zijlstra1-6/+27
2021-04-08kthread: use WARN_ON_FUNCTION_MISMATCHSami Tolvanen1-1/+2
2021-01-24Merge tag 'sched_urgent_for_v5.11_rc5' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+26
2021-01-22kthread: Extract KTHREAD_IS_PER_CPUPeter Zijlstra1-1/+26
2021-01-11kthread: remove comments about old _do_fork() helperYanfei Xu1-1/+1
2020-12-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+28
2020-12-15kthread_worker: document CPU hotplug handlingPetr Mladek1-1/+19
2020-12-15kthread: add kthread_work tracepointsRob Clark1-0/+9
2020-11-27Merge branch 'linus' into sched/core, to resolve semantic conflictIngo Molnar1-1/+2
2020-11-02kthread_worker: prevent queuing delayed work from timer_fn when it is being c...Zqiang1-1/+2
2020-10-29sched: membarrier: cover kthread_use_mm (v4)Mathieu Desnoyers1-0/+21
2020-10-16kernel/: fix repeated words in commentsRandy Dunlap1-1/+1
2020-08-12uaccess: add force_uaccess_{begin,end} helpersChristoph Hellwig1-3/+2
2020-08-07kthread: remove incorrect comment in kthread_create_on_cpu()Ilias Stamatis1-1/+0
2020-08-07mm: fix kthread_use_mm() vs TLB invalidatePeter Zijlstra1-1/+6
2020-07-08Merge branch 'sched/urgent'Peter Zijlstra1-1/+1
2020-06-17maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofaultChristoph Hellwig1-1/+1
2020-06-15isolcpus: Affine unbound kernel threads to housekeeping cpusMarcelo Tosatti1-2/+4
2020-06-15kthread: Switch to cpu_possible_maskMarcelo Tosatti1-2/+2
2020-06-11Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+61
2020-06-10kernel: set USER_DS in kthread_use_mmChristoph Hellwig1-0/+6
2020-06-10kernel: better document the use_mm/unuse_mm API contractChristoph Hellwig1-17/+16
2020-06-10kernel: move use_mm/unuse_mm to kthread.cChristoph Hellwig1-0/+56
2020-05-08kthread: save thread functionJ. Bruce Fields1-0/+17
2020-03-20kthread: Do not preempt current task if it is going to call schedule()Liang Chen1-2/+15
2019-10-16kthread: make __kthread_queue_delayed_work staticBen Dooks1-3/+3
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14include/: refactor headers to allow kthread.h inclusion in psi_types.hSuren Baghdasaryan1-0/+1
2019-03-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+2
2019-03-06Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-21/+22
2019-03-05mm: replace all open encodings for NUMA_NO_NODEAnshuman Khandual1-1/+2
2019-02-28kthread: Do not use TIMER_IRQSAFESebastian Andrzej Siewior1-2/+3
2019-02-28kthread: Convert worker lock to raw spinlockJulia Cartwright1-21/+21
2019-02-10kthread: Add __kthread_should_park()Matthias Kaehlcke1-1/+7
2018-08-13Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+4
2018-07-26kthread, tracing: Don't expose half-written comm when creating kthreadsSnild Dolkow1-1/+7
2018-07-03kthread: Simplify kthread_park() completionPeter Zijlstra1-2/+4
2018-07-03kthread, sched/core: Fix kthread_parkme() (again...)Peter Zijlstra1-6/+24
2018-05-25kthread: Allow kthread_park() on a parked kthreadPeter Zijlstra1-4/+2
2018-05-03kthread, sched/wait: Fix kthread_parkme() completion issuePeter Zijlstra1-24/+19
2018-05-03kthread, sched/wait: Fix kthread_parkme() wait-loopPeter Zijlstra1-3/+4
2017-11-21treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE castsKees Cook1-1/+1
2017-11-14Merge branch 'for-4.15/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+62
2017-11-10kthread: zero the kthread data structureShaohua Li1-5/+1
2017-10-05kthread: Convert callback to use from_timer()Kees Cook1-6/+4
2017-09-26block: fix a build errorShaohua Li1-4/+4
2017-09-26kthread: add a mechanism to store cgroup infoShaohua Li1-2/+64
2017-08-31kernel/kthread.c: kthread_worker: don't hog the cpuShaohua Li1-0/+1
2017-03-17cgroup, kthread: close race window where new kthreads can be migrated to non-...Tejun Heo1-0/+3
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <uap...Ingo Molnar1-0/+1
2017-02-10time: Remove CONFIG_TIMER_STATSKees Cook1-1/+0
2016-12-12kthread: add __printf attributesNicolas Iooss1-2/+3
2016-12-08kthread: Don't abuse kthread_create_on_cpu() in __kthread_create_worker()Oleg Nesterov1-15/+8
2016-12-08kthread: Don't use to_live_kthread() in kthread_[un]park()Oleg Nesterov1-45/+24
2016-12-08kthread: Don't use to_live_kthread() in kthread_stop()Oleg Nesterov1-7/+5
2016-12-08Revert "kthread: Pin the stack via try_get_task_stack()/put_task_stack() in t...Oleg Nesterov1-6/+2
2016-12-08kthread: Make struct kthread kmalloc'edOleg Nesterov1-13/+45
2016-10-11kthread: better support freezable kthread workersPetr Mladek1-6/+15
2016-10-11kthread: allow to modify delayed kthread workPetr Mladek1-0/+53
2016-10-11kthread: allow to cancel kthread workPetr Mladek1-2/+130
2016-10-11kthread: initial support for delayed kthread workPetr Mladek1-0/+102
2016-10-11kthread: detect when a kthread work is used by more workersPetr Mladek1-8/+20
2016-10-11kthread: add kthread_destroy_worker()Petr Mladek1-0/+23
2016-10-11kthread: add kthread_create_worker*()Petr Mladek1-10/+103
2016-10-11kthread: allow to call __kthread_create_on_node() with va_list argsPetr Mladek1-30/+42
2016-10-11kthread/smpboot: do not park in kthread_create_on_cpu()Petr Mladek1-2/+6
2016-10-11kthread: kthread worker API cleanupPetr Mladek1-16/+17
2016-10-11kthread: rename probe_kthread_data() to kthread_probe_data()Petr Mladek1-2/+2
2016-09-16kthread: Pin the stack via try_get_task_stack()/put_task_stack() in to_live_k...Oleg Nesterov1-2/+6
2015-09-04kernel/kthread.c:kthread_create_on_node(): clarify documentationAndrew Morton1-3/+4
2015-08-31Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-3/+17
2015-08-12sched: Fix a race between __kthread_bind() and sched_setaffinity()Peter Zijlstra1-3/+17
2015-08-07kthread: export kthread functionsDavid Kershner1-0/+4
2014-10-09kernel/kthread.c: partial revert of 81c98869faa5 ("kthread: ensure locality o...Nishanth Aravamudan1-1/+1
2014-07-28kthread_work: wake up worker only when the worker is idleLai Jiangshan1-1/+1
2014-06-04kthread: fix return value of kthread_create() upon SIGKILL.Tetsuo Handa1-2/+2
2014-04-03kthread: ensure locality of task_struct allocationsNishanth Aravamudan1-2/+2
2013-11-13kthread: make kthread_create() killableTetsuo Handa1-18/+55
2013-04-30kthread: implement probe_kthread_data()Tejun Heo1-0/+19
2013-04-29Merge branch 'for-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-1/+1
2013-04-29kthread: kill task_get_live_kthread()Oleg Nesterov1-13/+7
2013-04-29kthread: introduce to_live_kthread()Oleg Nesterov1-10/+16
2013-04-12kthread: Prevent unpark race which puts threads on the wrong cpuThomas Gleixner1-24/+28
2013-03-19sched: replace PF_THREAD_BOUND with PF_NO_SETAFFINITYTejun Heo1-1/+1
2012-12-12kthread: use N_MEMORY instead N_HIGH_MEMORYLai Jiangshan1-1/+1
2012-10-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+1
2012-10-12infrastructure for saner ret_from_kernel_thread semanticsAl Viro1-0/+1
2012-08-13kthread: Implement park/unpark facilityThomas Gleixner1-19/+166
2012-07-22kthread_worker: reimplement flush_kthread_work() to allow freeing the work it...Tejun Heo1-21/+27
2012-07-22kthread_worker: reorganize to prepare for flush_kthread_work() reimplementationTejun Heo1-16/+26
2011-11-23freezer: kill unused set_freezable_with_signal()Tejun Heo1-1/+1
2011-11-21freezer: implement and use kthread_freezable_should_stop()Tejun Heo1-0/+25
2011-10-31kernel: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1
2011-05-28cpuset: Fix cpuset_cpus_allowed_fallback(), don't update tsk->rt.nr_cpus_allowedKOSAKI Motohiro1-2/+2
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-03-22kthread: NUMA aware kthread_create_on_node()Eric Dumazet1-6/+25
2011-01-07sched: Constify function scope static struct sched_param usagePeter Zijlstra1-1/+1
2011-01-05Merge commit 'v2.6.37' into sched/coreIngo Molnar1-0/+11
2010-12-22kthread_work: make lockdep happyYong Zhang1-0/+11
2010-10-23sched: Make sched_param argument static in sched_setscheduler() callersKOSAKI Motohiro1-1/+1
2010-06-29kthread: implement kthread_data()Tejun Heo1-0/+15
2010-06-29kthread: implement kthread_workerTejun Heo1-0/+149
2010-03-24cpuset: fix the problem that cpuset_mem_spread_node() returns an offline nodeMiao Xie1-1/+1
2010-02-09kthread, sched: Remove reference to kthread_create_on_cpuAnton Blanchard1-1/+1
2009-12-16sched: Move kthread_bind() back to kthread.cPeter Zijlstra1-0/+23
2009-11-03sched: Fix kthread_bind() by moving the body of kthread_bind() to sched.cMike Galbraith1-23/+0
2009-09-09sched: Keep kthreads at default priorityMike Galbraith1-4/+0
2009-07-27update the comment in kthread_stop()Oleg Nesterov1-4/+6
2009-06-18kthreads: rework kthread_stop()Oleg Nesterov1-41/+28
2009-06-18kthreads: simplify the startup synchronizationOleg Nesterov1-7/+4
2009-06-16cpuset,mm: update tasks' mems_allowed in timeMiao Xie1-0/+2
2009-04-14tracing/events: move trace point headers into include/trace/eventsSteven Rostedt1-1/+1
2009-04-14tracing: create automated trace definesSteven Rostedt1-3/+0
2009-04-09kthread: move sched-realeted initialization from kthreadd contextOleg Nesterov1-11/+11
2009-04-09kthread: Don't looking for a task in create_kthread() #2Vitaliy Gusev1-3/+1
2009-03-30cpumask: remove dangerous CPU_MASK_ALL_PTR, &CPU_MASK_ALLRusty Russell1-2/+2
2008-11-16tracepoints: add DECLARE_TRACE() and DEFINE_TRACE()Mathieu Desnoyers1-0/+3
2008-10-20Merge branch 'tracing-v28-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+5
2008-10-20kthread_bind: use wait_task_inactive(TASK_UNINTERRUPTIBLE)Oleg Nesterov1-3/+2
2008-10-14tracing, sched: LTTng instrumentation - schedulerMathieu Desnoyers1-0/+5
2008-07-26tracehook: wait_task_inactiveRoland McGrath1-1/+1
2008-07-18kthread: reduce stack pressure in create_kthread and kthreaddMike Travis1-2/+2
2008-07-16Freezer: Introduce PF_FREEZER_NOSIGRafael J. Wysocki1-1/+1
2008-06-10sched: prevent bound kthreads from changing cpus_allowedDavid Rientjes1-0/+1
2008-04-30Deprecate find_task_by_pid()Pavel Emelyanov1-1/+1
2008-04-29kthread: call wake_up_process() without the lock being heldDmitry Adamushko1-1/+1
2008-04-21Merge branch 'semaphore' of git://git.kernel.org/pub/scm/linux/kernel/git/wil...Linus Torvalds1-1/+0
2008-04-19sched: fix cpus_allowed settingsGregory Haskins1-0/+1
2008-04-18kernel: Remove unnecessary inclusions of asm/semaphore.hMatthew Wilcox1-1/+0
2008-01-25sched: fix, always create kernel threads with normal priorityMichal Schmidt1-1/+11
2007-07-31kthread: silence bogus section mismatch warningSatyam Sharma1-10/+2
2007-07-16mm: fix improper .init-type section referencesJan Beulich1-1/+1
2007-05-23freezer: fix kthread_create vs freezer theoretical raceOleg Nesterov1-2/+5
2007-05-09change kernel threads to ignore signals instead of blocking themOleg Nesterov1-14/+3
2007-05-09kthread: don't depend on work queuesEric W. Biederman1-56/+68
2007-02-11[PATCH] Numerous fixes to kernel-doc info in source files.Robert P. J. Day1-3/+3
2006-11-22WorkStruct: Pass the work_struct pointer instead of context dataDavid Howells1-5/+8
2006-07-14[PATCH] remove kernel/kthread.c:kthread_stop_sem()Adrian Bunk1-22/+2
2006-06-25[PATCH] kthread: move kernel-doc and put it into DocBookRandy Dunlap1-1/+60
2006-03-25[PATCH] find_task_by_pid() needs tasklist_lockAndrew Morton1-0/+2
2006-03-23[PATCH] sem2mutex: kernel/Arjan van de Ven1-3/+4
2005-10-30[PATCH] Add kthread_stop_sem()Alan Stern1-2/+11
2005-05-01[PATCH] use smp_mb/wmb/rmb where possibleakpm@osdl.org1-1/+1
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+202