Skip to content

Commit

Permalink
kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-checkpa…
Browse files Browse the repository at this point in the history
…tch-fixes

WARNING: line over 80 characters
torvalds#67: FILE: kernel/kmod.c:214:
+	 * Kthreadd can be restricted to a set of processors if the user wants to

WARNING: line over 80 characters
torvalds#69: FILE: kernel/kmod.c:216:
+	 * we do not want to disturb the other processors here either so we start

WARNING: line over 80 characters
#70: FILE: kernel/kmod.c:217:
+	 * the usermode helper threads only on the processors allowed for kthreadd.

total: 0 errors, 3 warnings, 44 lines checked

./patches/kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
akpm00 authored and hnaz committed Mar 22, 2014
1 parent e0aaa4e commit ee2bbd7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions kernel/kmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,11 @@ static int ____call_usermodehelper(void *data)
spin_unlock_irq(&current->sighand->siglock);

/*
* Kthreadd can be restricted to a set of processors if the user wants to
* protect other processors from OS latencies. If that has happened then
* we do not want to disturb the other processors here either so we start
* the usermode helper threads only on the processors allowed for kthreadd.
* Kthreadd can be restricted to a set of processors if the user wants
* to protect other processors from OS latencies. If that has happened
* then we do not want to disturb the other processors here either so we
* start the usermode helper threads only on the processors allowed for
* kthreadd.
*/
set_kthreadd_affinity();

Expand Down

0 comments on commit ee2bbd7

Please sign in to comment.