diff options
author | Tejun Heo <tj@kernel.org> | 2015-06-26 01:01:38 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-26 03:00:39 +0300 |
commit | 369e5a888179f31dcd7cc8e02d695e6481a66075 (patch) | |
tree | e61b241c00c61d2ee9986a2e3bd66d3df4a29157 /init | |
parent | 698cf1c6163a2f2752d2d3e511a26c688f5778f3 (diff) | |
download | linux-369e5a888179f31dcd7cc8e02d695e6481a66075.tar.xz |
netconsole: make all dynamic netconsoles share a mutex
Currently, each dynamic netconsole_target uses its own separate mutex to
synchronize the configuration operations.
This patch replaces the per-netconsole_target mutexes with a single
mutex - dynamic_netconsole_mutex. The reduced granularity doesn't hurt
anything, the code is minutely simpler and this'd allow adding
operations which should be synchronized across all dynamic netconsoles.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: David Miller <davem@davemloft.net>
Cc: Kay Sievers <kay@vrfy.org>
Cc: Petr Mladek <pmladek@suse.cz>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions