Skip to contentSkip to conversation

kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-fix.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Apr 8, 2014

lore
Share & tools
lore
#0 lore raw

Subject: [folded-merged] kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-fix.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 08 Apr 2014 13:55:56 -0700

The patch titled
Subject: kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-fix
has been removed from the -mm tree. Its filename was
kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-fix.patch

This patch was dropped because it was folded into kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2.patch

------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-fix

set_cpus_allowed() doesn't exist when CONFIG_CPUMASK_OFFSTACK=y.

Cc "Paul E. McKenney" <[email protected]>
Cc Christoph Lameter <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Gilad Ben-Yossef <[email protected]>
Cc Mike Frysinger <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Rusty Russell <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Thomas Gleixner <[email protected]>

---

 kernel/kthread.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/kthread.c renamed from kernel/kthread.c~kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-fix +1 -1
diff -puN kernel/kthread.c~kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-fix kernel/kthread.c
@@ -142,7 +142,7 @@ void *kthread_data(struct task_struct *t
  */
 void set_kthreadd_affinity(void)
 {
-	set_cpus_allowed(current, kthreadd_task->cpus_allowed);
+	set_cpus_allowed_ptr(current, &kthreadd_task->cpus_allowed);
 }
 
 /**

_

Patches currently in -mm which might be from [email protected] are

origin.patch
ncpfs-convert-dprintk-ddprintk-to-ncp_dbg-fix.patch ncpfs-convert-dprintk-ddprintk-to-ncp_dbg-fix-fix.patch kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2.patch kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-checkpatch-fixes.patch linux-next.patch
linux-next-rejects.patch
drivers-gpio-gpio-zevioc-fix-build.patch ufs-sb-mutex-merge-mutex_destroy-fix-v2-fix.patch debugging-keep-track-of-page-owners.patch journal_add_journal_head-debug.patch journal_add_journal_head-debug-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch mutex-subsystem-synchro-test-module.patch
slab-leaks3-default-y.patch
put_bh-debug.patch