diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-05-16 20:42:46 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-05-23 10:01:37 +0200 |
commit | c6202adf3a0969514299cf10ff07376a84ad09bb (patch) | |
tree | 7ff79c6d1e3401eee346b99e44c409bf2639ec6f /drivers/xen/manage.c | |
parent | ff48cd26fc4889b9deb5f9333d3c61746e450b7f (diff) | |
download | linux-c6202adf3a0969514299cf10ff07376a84ad09bb.tar.gz linux-c6202adf3a0969514299cf10ff07376a84ad09bb.tar.bz2 linux-c6202adf3a0969514299cf10ff07376a84ad09bb.zip |
mm/vmscan: Adjust system_state checks
To enable smp_processor_id() and might_sleep() debug checks earlier, it's
required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING.
Adjust the system_state check in kswapd_run() to handle the extra states.
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20170516184736.119158930@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/xen/manage.c')
0 files changed, 0 insertions, 0 deletions