diff options
author | Corey Minyard <cminyard@mvista.com> | 2018-12-20 16:50:23 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-26 09:32:44 +0100 |
commit | b40aec33eeb512b53edd1e0555aaaf4e3127e765 (patch) | |
tree | 16be5ca9e8b8c0daa95e5e786e7a340469b9d978 /fs/ubifs | |
parent | 031a94ff8ac4278198ff1df422c3d19202618256 (diff) | |
download | linux-stable-b40aec33eeb512b53edd1e0555aaaf4e3127e765.tar.gz linux-stable-b40aec33eeb512b53edd1e0555aaaf4e3127e765.tar.bz2 linux-stable-b40aec33eeb512b53edd1e0555aaaf4e3127e765.zip |
ipmi: Don't initialize anything in the core until something uses it
commit 913a89f009d98c85a902d718cd54bb32ab11d167 upstream.
The IPMI driver was recently modified to use SRCU, but it turns out
this uses a chunk of percpu memory, even if IPMI is never used.
So modify thing to on initialize on the first use. There was already
code to sort of handle this for handling init races, so piggy back
on top of that, and simplify it in the process.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reported-by: Tejun Heo <tj@kernel.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org # 4.18
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions