summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/compiler.h
diff options
context:
space:
mode:
authorJim Blackler <jimblackler@google.com>2019-06-13 11:54:36 +0100
committerJim Blackler <jimblackler@google.com>2019-07-09 13:45:40 +0100
commitc93a1fab248c46487da803590a0f1cec135cd96a (patch)
tree6041895fccac8e6095797cc48fa30b159194e976 /arch/mips/include/asm/compiler.h
parent282d84add5d7d1d9e937c76c0e90efd8490a11d6 (diff)
ANDROID: Avoid taking multiple locks in handle_lmk_event
Conflicting lock events have been reported resulting from rcu_read_lock, mmap_sem (in get_cmdline) and lmk_event_lock. This CL avoids the possibility of these conditions by moving handle_lmk_event outside rcu_read_lock and invoking get_cmdline before lmk_event_lock is taken. Bug: 133479338, 133829075 Signed-off-by: Jim Blackler <jimblackler@google.com> Change-Id: Ib3c32587472bd972e3ac108798e2af3f4a5c329a
Diffstat (limited to 'arch/mips/include/asm/compiler.h')
0 files changed, 0 insertions, 0 deletions