Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
akpm00 authored and sfrothwell committed Jan 10, 2014
1 parent 58f2b9d commit e49a5ee
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 e49a5ee

Please sign in to comment.