Re: [PATCH] kmod: Run usermodehelpers only on cpus allowed forkthreadd

From: Andrew Morton
Date: Thu Oct 17 2013 - 13:50:33 EST


On Thu, 17 Oct 2013 18:07:28 +0200 Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> Couldn't we instead make kthread children (those created with kthread_create()) to inherit
> kthread initial affinity? Currently kthread's children have cpu_all_mask. We could change
> that behaviour. This way the initial kthread affinity could be inherited all along.

I'm wondering if it's clean/logical to tie usermodehelper affinity to
kthreadd affinity at all. It's certainly convenient, but they're
distinct concepts. What is the reason to not have a separate control
for usermodehelper cpus-allowed?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/