Commit 818b667ba57f68bf1e7240fa441dda0b11e6b944
Committed by
Linus Torvalds
1 parent
21b7d815b2
Exists in
master
and in
4 other branches
Remove unused PROC_CHANGE_PENALTY constant
This constant hasn't been used since before the git era (2.6.12) and thus can be dropped. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Richard Weinberger <richard@nod.at> Cc: Hirokazu Takata <takata@linux-m32r.org> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 5 changed files with 0 additions and 20 deletions Side-by-side Diff
arch/alpha/include/asm/smp.h
arch/arm/include/asm/smp.h
... | ... | @@ -20,12 +20,6 @@ |
20 | 20 | |
21 | 21 | #define raw_smp_processor_id() (current_thread_info()->cpu) |
22 | 22 | |
23 | -/* | |
24 | - * at the moment, there's not a big penalty for changing CPUs | |
25 | - * (the >big< penalty is running SMP in the first place) | |
26 | - */ | |
27 | -#define PROC_CHANGE_PENALTY 15 | |
28 | - | |
29 | 23 | struct seq_file; |
30 | 24 | |
31 | 25 | /* |
arch/m32r/include/asm/smp.h
arch/parisc/include/asm/smp.h
... | ... | @@ -33,15 +33,6 @@ |
33 | 33 | |
34 | 34 | #endif /* !ASSEMBLY */ |
35 | 35 | |
36 | -/* | |
37 | - * This magic constant controls our willingness to transfer | |
38 | - * a process across CPUs. Such a transfer incurs cache and tlb | |
39 | - * misses. The current value is inherited from i386. Still needs | |
40 | - * to be tuned for parisc. | |
41 | - */ | |
42 | - | |
43 | -#define PROC_CHANGE_PENALTY 15 /* Schedule penalty */ | |
44 | - | |
45 | 36 | #define raw_smp_processor_id() (current_thread_info()->cpu) |
46 | 37 | |
47 | 38 | #else /* CONFIG_SMP */ |
arch/um/include/asm/smp.h