pidns-fix-free_pid-to-handle-the-first-fork-failure.patch removed from -mm tree
Subject: [merged] pidns-fix-free_pid-to-handle-the-first-fork-failure.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 17 Oct 2013 11:12:51 -0700
The patch titled
Subject: pidns: fix free_pid() to handle the first fork failure
has been removed from the -mm tree. Its filename was
pidns-fix-free_pid-to-handle-the-first-fork-failure.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Oleg Nesterov <[email protected]>
Subject: pidns: fix free_pid() to handle the first fork failure
"case 0" in free_pid() assumes that disable_pid_allocation() should clear PIDNS_HASH_ADDING before the last pid goes away. However this doesn't happen if the 1st fork() fails to create the child reaper which should call disable_pid_allocation().
---
kernel/pid.c | 5 +++++ 1 file changed, 5 insertions(+)
kernel/pid.c renamed from kernel/pid.c~pidns-fix-free_pid-to-handle-the-first-fork-failure +5 -0
@@ -273,6 +273,11 @@ void free_pid(struct pid *pid)*/ wake_up_process (ns->child_reaper);break ; +case PIDNS_HASH_ADDING : +/* Handle a fork failure of the first process */ +WARN_ON (ns->child_reaper); + ns->nr_hashed =0 ; +/* fall through */ case 0 :schedule_work (&ns->proc_work);break ;
_
Patches currently in -mm which might be from [email protected] are
linux-next.patch
kthread-make-kthread_create-killable.patch anon_inodefs-forbid-open-via-proc.patch mm-avoid-increase-sizeofstruct-page-due-to-split-page-table-lock.patch mm-rename-use_split_ptlocks-to-use_split_pte_ptlocks.patch mm-convert-mm-nr_ptes-to-atomic_long_t.patch mm-introduce-api-for-split-page-table-lock-for-pmd-level.patch mm-thp-change-pmd_trans_huge_lock-to-return-taken-lock.patch mm-thp-move-ptl-taking-inside-page_check_address_pmd.patch mm-thp-do-not-access-mm-pmd_huge_pte-directly.patch mm-hugetlb-convert-hugetlbfs-to-use-split-pmd-lock.patch mm-convert-the-rest-to-new-page-table-lock-api.patch mm-implement-split-page-table-lock-for-pmd-level.patch x86-mm-enable-split-page-table-lock-for-pmd-level.patch mm-rearrange-madvise-code-to-allow-for-reuse.patch mm-add-a-field-to-store-names-for-private-anonymous-memory.patch autofs4-allow-autofs-to-work-outside-the-initial-pid-namespace.patch autofs4-translate-pids-to-the-right-namespace-for-the-daemon.patch