aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
AgeCommit message (Expand)AuthorFilesLines
2016-05-23wait: allow sys_waitid() to accept __WNOTHREAD/__WCLONE/__WALLOleg Nesterov1-1/+2
2016-05-23wait/ptrace: assume __WALL if the child is tracedOleg Nesterov1-9/+20
2016-05-20exit_thread: accept a task parameter to be exitedJiri Slaby1-1/+1
2016-03-25oom: clear TIF_MEMDIE after oom_reaper managed to unmap the address spaceMichal Hocko1-1/+1
2016-03-22kernel: add kcov code coverageDmitry Vyukov1-0/+2
2016-01-20exit: remove unneeded declaration of exit_mm()Dmitry Safonov1-2/+0
2016-01-20ptrace: task_stopped_code(ptrace => true) can't see TASK_STOPPED taskOleg Nesterov1-2/+1
2015-11-03Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+3
2015-10-06rcu: Move preemption disabling out of __srcu_read_lock()Paul E. McKenney1-0/+2
2015-10-06sched/core: Robustify preemption leak checksPeter Zijlstra1-1/+3
2015-08-07kernel: exit: fix typo in commentFrans Klaver1-1/+1
2015-06-25exit,stats: /* obey this comment */Rik van Riel1-1/+1
2015-06-24mm: oom_kill: clean up victim marking and exiting interfacesJohannes Weiner1-1/+1
2015-04-12Remove execution domain supportRichard Weinberger1-2/+0
2015-02-11oom, PM: make OOM detection in the freezer path racelessMichal Hocko1-1/+2
2015-02-11oom: add helpers for setting and clearing TIF_MEMDIEMichal Hocko1-1/+1
2015-01-08exit: fix race between wait_consider_task() and wait_task_zombie()Oleg Nesterov1-3/+9
2014-12-14Merge tag 'tty-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-21/+0
2014-12-10exit: exit_notify: re-use "dead" list to autoreap currentOleg Nesterov1-4/+2
2014-12-10exit: reparent: call forget_original_parent() under tasklist_lockOleg Nesterov1-24/+23
2014-12-10exit: reparent: avoid find_new_reaper() if no childrenOleg Nesterov1-0/+3
2014-12-10exit: reparent: introduce find_alive_thread()Oleg Nesterov1-13/+19
2014-12-10exit: reparent: introduce find_child_reaper()Oleg Nesterov1-21/+35
2014-12-10exit: reparent: document the ->has_child_subreaper checksOleg Nesterov1-8/+6
2014-12-10exit: reparent: s/while_each_thread/for_each_thread/ in find_new_reaper()Oleg Nesterov1-5/+3
2014-12-10exit: reparent: fix the cross-namespace PR_SET_CHILD_SUBREAPER reparentingOleg Nesterov1-2/+4
2014-12-10exit: reparent: fix the dead-parent PR_SET_CHILD_SUBREAPER reparentingOleg Nesterov1-1/+1
2014-12-10exit: release_task: fix the comment about group leader accountingOleg Nesterov1-7/+4
2014-12-10exit: wait: drop tasklist_lock before psig->c* accountingOleg Nesterov1-7/+5
2014-12-10exit: wait: don't use zombie->real_parentOleg Nesterov1-12/+11
2014-12-10exit: wait: cleanup the ptrace_reparented() checksOleg Nesterov1-8/+6
2014-12-10exit: ptrace: shift "reap dead" code from exit_ptrace() to forget_original_pa...Oleg Nesterov1-6/+4
2014-12-10exit: reparent: cleanup the usage of reparent_leader()Oleg Nesterov1-13/+9
2014-12-10exit: reparent: cleanup the changing of ->parentOleg Nesterov1-8/+5
2014-12-10exit: reparent: use ->ptrace_entry rather than ->sibling for EXIT_DEAD tasksOleg Nesterov1-3/+3
2014-11-05tty: Move session_of_pgrp() and make staticPeter Hurley1-21/+0
2014-10-28sched, exit: Deal with nested sleepsPeter Zijlstra1-0/+5
2014-10-13Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-22/+25
2014-09-08time, signal: Protect resource use statistics with seqlockRik van Riel1-0/+4
2014-09-08exit: Always reap resource stats in __exit_signal()Rik van Riel1-22/+21
2014-09-07rcu: Make TASKS_RCU handle tasks that are almost done exitingPaul E. McKenney1-0/+3
2014-08-08kernel/exit.c: fix coding style warnings and errorsIonut Alexa1-23/+26
2014-08-06mm, oom: remove unnecessary exit_state checkDavid Rientjes1-0/+1
2014-06-06signals: mv {dis,}allow_signal() from sched.h/exit.c to signal.[ch]Oleg Nesterov1-39/+0
2014-06-04memcg: optimize the "Search everything else" loop in mm_update_next_owner()Oleg Nesterov1-3/+9
2014-06-04memcg: mm_update_next_owner() should skip kthreadsOleg Nesterov1-6/+4
2014-06-04memcg: kill CONFIG_MM_OWNEROleg Nesterov1-2/+2
2014-04-07wait: WSTOPPED|WCONTINUED doesn't work if a zombie leader is traced by anothe...Oleg Nesterov1-13/+9
2014-04-07wait: WSTOPPED|WCONTINUED hangs if a zombie child is traced by real_parentOleg Nesterov1-13/+16
2014-04-07wait: completely ignore the EXIT_DEAD tasksOleg Nesterov1-5/+6
2014-04-07wait: use EXIT_TRACE only if thread_group_leader(zombie)Oleg Nesterov1-10/+7
2014-04-07wait: introduce EXIT_TRACE to avoid the racy EXIT_DEAD->EXIT_ZOMBIE transitionOleg Nesterov1-29/+21
2014-04-07wait: fix reparent_leader() vs EXIT_DEAD->EXIT_ZOMBIE raceOleg Nesterov1-4/+11
2014-04-07kernel/exit.c: call proc_exit_connector() after exit_state is setGuillaume Morin1-1/+1
2014-04-07exit: move check_stack_usage() to the end of do_exit()Oleg Nesterov1-1/+1
2014-04-07exit: call disassociate_ctty() before exit_task_namespaces()Oleg Nesterov1-4/+2
2014-03-29cgroup: remove useless argument from cgroup_exit()Li Zefan1-1/+1
2014-01-21introduce for_each_thread() to replace the buggy while_each_thread()Oleg Nesterov1-0/+1
2013-07-09ptrace: revert "Prepare to fix racy accesses on task breakpoints"Oleg Nesterov1-1/+1
2013-07-03Merge branch 'akpm' (updates from Andrew Morton)Linus Torvalds1-11/+0
2013-07-03exit.c: unexport __set_special_pids()Oleg Nesterov1-11/+0
2013-06-28Merge branch 'freezer'Rafael J. Wysocki1-1/+1
2013-06-15move exit_task_namespaces() outside of exit_notify()Oleg Nesterov1-1/+1
2013-05-12lockdep: remove task argument from debug_check_no_locks_heldColin Cross1-1/+1
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-5/+0
2013-04-09get rid of the last free_pipe_info() callersAl Viro1-1/+1
2013-03-31Revert "lockdep: check that no locks held at freeze time"Paul Walmsley1-1/+1
2013-03-03make SYSCALL_DEFINE<n>-generated wrappers do asmlinkage_protectAl Viro1-5/+0
2013-02-27coredump: use a freezable_schedule for the coredump_finish waitMandeep Singh Baines1-2/+2
2013-02-27lockdep: check that no locks held at freeze timeMandeep Singh Baines1-1/+1
2013-01-27cputime: Use accessors to read task cputime statsFrederic Weisbecker1-4/+6
2012-12-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-12/+0
2012-12-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-92/+0
2012-11-28kill daemonize()Al Viro1-92/+0
2012-11-28cputime: Rename thread_group_times to thread_group_cputime_adjustedFrederic Weisbecker1-2/+2
2012-11-19pidns: Wait in zap_pid_ns_processes until pid_ns->nr_hashed == 1Eric W. Biederman1-12/+0
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-96/+1
2012-09-26new helper: daemonize_descriptors()Al Viro1-3/+1
2012-09-26move files_struct-related bits from kernel/exit.c to fs/file.cAl Viro1-93/+0
2012-09-24net: use a per task frag allocatorEric Dumazet1-0/+3
2012-07-26posix_types.h: Cleanup stale __NFDBITS and related definitionsJosh Boyer1-1/+1
2012-07-22move exit_task_work() past exit_files() et.al.Al Viro1-4/+2
2012-06-20pidns: find_new_reaper() can no longer switch to init_pid_ns.child_reaperOleg Nesterov1-8/+2
2012-06-20pidns: guarantee that the pidns init will be the last pidns process reapedEric W. Biederman1-1/+13
2012-06-20mm: correctly synchronize rss-counters at exit/execKonstantin Khlebnikov1-0/+1
2012-06-07Revert "mm: correctly synchronize rss-counters at exit/exec"Linus Torvalds1-8/+5
2012-06-07mm: correctly synchronize rss-counters at exit/execKonstantin Khlebnikov1-5/+8
2012-05-31Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+3
2012-05-31stack usage: add pid to warning printk in check_stack_usageTim Bird1-3/+3
2012-05-31cred: remove task_is_dead() from __task_cred() validationOleg Nesterov1-1/+1
2012-05-23genirq: reimplement exit_irq_thread() hook via task_work_add()Oleg Nesterov1-2/+0
2012-05-23task_work_add: generic process-context callbacksOleg Nesterov1-1/+4
2012-05-17cred: use correct cred accessor with regards to rcu read lockSasha Levin1-2/+2
2012-05-03userns: Convert setting and getting uid and gid system calls to use kuid and ...Eric W. Biederman1-3/+3
2012-03-29Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2012-03-23kernel/exit.c: if init dies, log a signal which killed it, if anyDenys Vlasenko1-2/+5
2012-03-23prctl: add PR_{SET,GET}_CHILD_SUBREAPER to allow simple process supervisionLennart Poettering1-5/+28
2012-03-22Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-1/+1
2012-03-21mm, counters: remove task argument to sync_mm_rss() and __sync_task_rss_stat()David Rientjes1-1/+1
2012-03-21Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-0/+1
2012-03-21Merge tag 'pm-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae...Linus Torvalds1-1/+1
2012-03-20exit_signal: fix the "parent has changed security domain" logicOleg Nesterov1-14/+0
2012-03-20exit_signal: simplify the "we have changed execution domain" logicOleg Nesterov1-6/+1
2012-03-09genirq: Get rid of unnecessary IRQTF_DIED flagAlexander Gordeev1-2/+2
2012-03-04Merge branch 'pm-sleep'Rafael J. Wysocki1-1/+1
2012-03-04PM / Freezer: Remove references to TIF_FREEZE in commentsMarcos Paulo de Souza1-1/+1
2012-02-19Replace the fd_sets in struct fdtable with an array of unsigned longsDavid Howells1-1/+1
2012-02-14security: trim security.hAl Viro1-0/+1
2012-01-27sched: Fix ancient race in do_exit()Yasunori Goto1-0/+16
2012-01-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+1
2012-01-17audit: inline audit_free to simplify the look of generic codeEric Paris1-2/+1
2012-01-12treewide: remove useless NORET_TYPE macro and usesJoe Perches1-3/+3
2012-01-10Merge branch 'writeback-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+3
2012-01-08Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+1
2012-01-06Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-16/+6
2012-01-04ptrace: partially fix the do_wait(WEXITED) vs EXIT_DEAD->EXIT_ZOMBIE raceOleg Nesterov1-1/+8
2011-12-18writeback: charge leaked page dirties to active tasksWu Fengguang1-0/+3
2011-12-15[S390] cputime: add sparse checking and cleanupMartin Schwidefsky1-16/+6
2011-11-21freezer: remove racy clear_freeze_flag() and set PF_NOFREEZE on dead tasksTejun Heo1-2/+1
2011-10-31oom: remove oom_disable_countDavid Rientjes1-2/+0
2011-07-26ipc: introduce shm_rmid_forced sysctlVasiliy Kulikov1-0/+1
2011-07-25Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+0
2011-07-25Merge branch 'for-3.1/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+0
2011-07-22Merge branch 'ptrace' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/miscLinus Torvalds1-51/+40
2011-07-17has_stopped_jobs: s/task_is_stopped/SIGNAL_STOP_STOPPED/Oleg Nesterov1-7/+5
2011-07-12fixlet: Remove fs_excl from struct task.Justin TerAvest1-1/+0
2011-07-11Merge branch 'master' into for-nextJiri Kosina1-16/+15
2011-07-08rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_checkMichal Hocko1-1/+0
2011-06-27ptrace: wait_consider_task: s/same_thread_group/ptrace_reparented/Oleg Nesterov1-2/+1
2011-06-27kill task_detached()Oleg Nesterov1-3/+2
2011-06-27reparent_leader: check EXIT_DEAD instead of task_detached()Oleg Nesterov1-1/+1
2011-06-27make do_notify_parent() __must_check, update the callersOleg Nesterov1-21/+8
2011-06-27kill tracehook_notify_death()Oleg Nesterov1-8/+13
2011-06-27make do_notify_parent() return boolOleg Nesterov1-3/+6
2011-06-22ptrace: kill trivial tracehooksTejun Heo1-5/+2
2011-06-22ptrace: kill task_ptrace()Tejun Heo1-4/+4
2011-06-16ptrace: implement PTRACE_LISTENTejun Heo1-1/+2
2011-06-15memcg: clear mm->owner when last possible owner leavesKAMEZAWA Hiroyuki1-16/+15
2011-05-20Merge branch 'ptrace' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/miscLinus Torvalds1-22/+88
2011-05-13job control: reorganize wait_task_stopped()Tejun Heo1-7/+23
2011-04-25ptrace: Prepare to fix racy accesses on task breakpointsFrederic Weisbecker1-1/+1
2011-04-07Merge branch 'ptrace' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/mis...Oleg Nesterov1-17/+67
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-03-23job control: Allow access to job control events through ptraceesTejun Heo1-8/+33
2011-03-23job control: Fix ptracer wait(2) hang and explain notask_error clearingTejun Heo1-10/+34
2011-03-23job control: Small reorganization of wait_consider_task()Tejun Heo1-3/+4
2011-03-10block: initial patch for on-stack per-task pluggingJens Axboe1-0/+1
2011-01-11Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-5/+9
2011-01-07perf_events: Move code around to prepare for cgroupStephane Eranian1-5/+9
2010-12-17core: Replace __get_cpu_var with __this_cpu_read if not used for an address.Christoph Lameter1-1/+1
2010-12-02do_exit(): make sure that we run with get_fs() == USER_DSNelson Elhage1-0/+9
2010-11-05posix-cpu-timers: workaround to suppress the problems with mt execOleg Nesterov1-0/+8
2010-10-27exit: add lock context annotation on find_new_reaper()Namhyung Kim1-0/+2
2010-10-26oom: add per-mm oom disable countYing Han1-0/+3
2010-09-09perf: Fix up delayed_put_task_struct()Peter Zijlstra1-3/+1
2010-08-17Fix unprotected access to task credentials in waitid()Daniel J Blueman1-3/+2
2010-08-11ptrace: optimize exit_ptrace() for the likely caseOleg Nesterov1-2/+5
2010-05-27proc: turn signal_struct->count into "int nr_threads"Oleg Nesterov1-4/+1
2010-05-27exit: move taskstats_tgid_free() from __exit_signal() to free_signal_struct()Oleg Nesterov1-1/+0
2010-05-27exit: __exit_signal: use thread_group_leader() consistentlyOleg Nesterov1-6/+6
2010-05-27signals: kill the awful task_rq_unlock_wait() hackOleg Nesterov1-5/+0
2010-05-27signals: clear signal->tty when the last thread exitsOleg Nesterov1-1/+4
2010-05-27signals: make task_struct->signal immutable/refcountableOleg Nesterov1-3/+0
2010-05-27fork/exit: move tty_kref_put() outside of __cleanup_signal()Oleg Nesterov1-0/+1
2010-05-27exit: avoid sig->count in __exit_signal() to detect the group-dead caseOleg Nesterov1-2/+3
2010-05-27exit: avoid sig->count in de_thread/__exit_signal synchronizationOleg Nesterov1-1/+1
2010-05-27exit: exit_notify() can trust signal->notify_count < 0Oleg Nesterov1-5/+2
2010-05-25cpuset,mm: fix no node to alloc memory when changing cpuset's memsMiao Xie1-0/+2
2010-04-15Merge branch 'linus' into sched/coreIngo Molnar1-1/+2
2010-04-07mm: avoid null-pointer deref in sync_mm_rss()KAMEZAWA Hiroyuki1-1/+2
2010-04-02sched: Remove remaining USER_SCHED codeLi Zefan1-1/+0
2010-03-13Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2010-03-06kernel/exit.c: fix shadows sparse warningThiago Farina1-1/+1
2010-03-06mm: avoid false sharing of mm_counterKAMEZAWA Hiroyuki1-1/+2
2010-03-04rcu: Use wrapper function instead of exporting tasklist_lockPaul E. McKenney1-1/+1
2010-02-25sched: Use lockdep-based checking on rcu_dereference()Paul E. McKenney1-3/+11
2009-12-17do_wait() optimization: do not place sub-threads on task_struct->children listOleg Nesterov1-19/+17
2009-12-14sched: Convert pi_lock to raw_spinlockThomas Gleixner1-1/+1
2009-12-11tty: Move the leader test in disassociateAlan Cox1-1/+1
2009-12-08Merge branch 'for-2.6.33' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-1/+1
2009-12-05Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-9/+13
2009-12-04block: Fix io_context leak after failure of clone with CLONE_IOLouis Rilling1-1/+1
2009-12-02sched, cputime: Introduce thread_group_times()Hidetoshi Seto1-11/+12
2009-11-26sched: Remove task_{u,s,g}time()Hidetoshi Seto1-1/+1
2009-11-26sched: Introduce task_times() to replace task_{u,s}time() pairHidetoshi Seto1-2/+5
2009-11-21Merge branch 'tracing/hw-breakpoints' into perf/coreIngo Molnar1-0/+5
2009-11-08hw-breakpoints: Rewrite the hw-breakpoints layer on top of perf eventsFrederic Weisbecker1-0/+5
2009-10-29connector: fix regression introduced by sid connectorChristian Borntraeger1-3/+1
2009-10-08Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+0
2009-10-06futex: Move exit_pi_state() call to release_mm()Thomas Gleixner1-2/+0
2009-09-24task_struct cleanup: move binfmt field to mm_structHiroshi Shimamoto1-2/+0
2009-09-24wait_noreap_copyout(): check for ->wo_info != NULLVitaly Mayatskikh1-12/+14
2009-09-24do_wait: fix sys_waitid()-specific behaviourVitaly Mayatskikh1-26/+23
2009-09-24wait_consider_task: kill "parent" argumentOleg Nesterov1-4/+4
2009-09-24do_wait-wakeup-optimization: simplify task_pid_type()Oleg Nesterov1-8/+6
2009-09-24do_wait-wakeup-optimization: fix child_wait_callback()->eligible_child() usageOleg Nesterov1-6/+9
2009-09-24do_wait() wakeup optimization: child_wait_callback: check __WNOTHREAD caseOleg Nesterov1-0/+3
2009-09-24do_wait() wakeup optimization: change __wake_up_parent() to use filtered wakeupOleg Nesterov1-4/+21
2009-09-24do_wait() wakeup optimization: shift security_task_wait() from eligible_child...Oleg Nesterov1-6/+1