diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-03 02:36:28 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-03 02:45:09 +0200 |
commit | 8d8022e8aba85192e937f1f0f7450e256d66ae5c (patch) | |
tree | 14dfe2cb950815bfcd602cdbd376bb8694c98d3d /drivers/sh | |
parent | modules: don't fail to load on unknown parameters. (diff) | |
download | linux-8d8022e8aba85192e937f1f0f7450e256d66ae5c.tar.xz linux-8d8022e8aba85192e937f1f0f7450e256d66ae5c.zip |
module: do percpu allocation after uniqueness check. No, really!
v3.8-rc1-5-g1fb9341 was supposed to stop parallel kvm loads exhausting
percpu memory on large machines:
Now we have a new state MODULE_STATE_UNFORMED, we can insert the
module into the list (and thus guarantee its uniqueness) before we
allocate the per-cpu region.
In my defence, it didn't actually say the patch did this. Just that
we "can".
This patch actually *does* it.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Tested-by: Jim Hull <jim.hull@hp.com>
Cc: stable@kernel.org # 3.8
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions