summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorShuah Khan <shuah.kh@samsung.com>2014-07-02 19:51:38 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-12 05:13:06 +0400
commitddddda9bc41c9214731def8665ad92414356d685 (patch)
tree59f328999b30f14b4f881fd02d3314c052041a46 /drivers/misc
parent6e7e6c348492cb7e0a8a36a9d74d098de6f93208 (diff)
downloadlinux-ddddda9bc41c9214731def8665ad92414356d685.tar.xz
tools: selftests - create a separate hotplug target for full range test
On some systems, hot-plug tests could hang forever waiting for cpu and memory to be ready to be offlined. A special hot-plug target is created to run full range of hot-plug tests. In default mode, hot-plug tests run in safe mode with a limited scope. In limited mode, cpu-hotplug test is run on a single cpu as opposed to all hotplug capable cpus, and memory hotplug test is run on 2% of hotplug capable memory instead of 10%. In addition to the above change, cpu-hotplug is chnged to change processor affinity to cpu 0 so it doesn't impact itself while the test runs. Signed-off-by: Shuah Khan <shuah.kh@samsung.com> Cc: Kees Cook <keescook@chromium.org> Cc: Michael Ellerman <michael@ellerman.id.au> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions