diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2014-03-10 14:50:16 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-03-17 15:53:06 +0100 |
commit | cf813db0b448b45b454f0983329c3c7b007f9ab7 (patch) | |
tree | 2ccbddbc0c1494d92e4fa4f1c2f7d337595e1dd2 /include/asm-generic/mmu_context.h | |
parent | hypfs: Add clarification for "weight_min" attribute (diff) | |
download | linux-cf813db0b448b45b454f0983329c3c7b007f9ab7.tar.xz linux-cf813db0b448b45b454f0983329c3c7b007f9ab7.zip |
s390/smp: limit number of cpus in possible cpu mask
Limit the number of bits to the maximum number of cpus a machine
can have.
possible_cpu_mask typically will have more bits set than a machine
may physically have. This results in wasted memory during per-cpu
memory allocations, if the possible mask contains more cpus than
physically possible for a given configuration.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-generic/mmu_context.h')
0 files changed, 0 insertions, 0 deletions