diff options
author | Mel Gorman <mgorman@suse.de> | 2014-01-29 14:05:42 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 13:55:37 -0800 |
commit | 496a762865aa021f8f775b2644d7acae731adc35 (patch) | |
tree | 516fada3d7150f6a467347c4159ee30f4035705e /lib/memory-notifier-error-inject.c | |
parent | 03876923ca84ba27f66a6e941ba925e94434ca5c (diff) | |
download | lwn-496a762865aa021f8f775b2644d7acae731adc35.tar.gz lwn-496a762865aa021f8f775b2644d7acae731adc35.zip |
mm: numa: initialise numa balancing after jump label initialisation
commit c297663c0b3930491a3cb2aba4b6e5a7159c3503 upstream.
The command line parsing takes place before jump labels are initialised
which generates a warning if numa_balancing= is specified and
CONFIG_JUMP_LABEL is set.
On older kernels before commit c4b2c0c5f647 ("static_key: WARN on usage
before jump_label_init was called") the kernel would have crashed. This
patch enables automatic numa balancing later in the initialisation
process if numa_balancing= is specified.
Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions