aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorSrivatsa S. Bhat <[email protected]>2012-05-24 15:10:55 +0000
committerThomas Gleixner <[email protected]>2012-05-24 20:58:08 +0000
commitee74d13229fb606353ff56f4927fa93b37e95bbe (patch)
tree6cfc806db818bdc739c5a46d41e2c81c96364463 /fs/jbd2/commit.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff)
downloadkernel-ee74d13229fb606353ff56f4927fa93b37e95bbe.tar.gz
kernel-ee74d13229fb606353ff56f4927fa93b37e95bbe.zip
smpboot, idle: Optimize calls to smp_processor_id() in idle_threads_init()
While trying to initialize idle threads for all cpus, idle_threads_init() calls smp_processor_id() in a loop, which is unnecessary. The intent is to initialize idle threads for all non-boot cpus. So just use a variable to note the boot cpu and use it in the loop. Signed-off-by: Srivatsa S. Bhat <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions