]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: modules provide called from rcu atomic section
authorTomas Jedlicka <tomas.jedlicka@oracle.com>
Fri, 28 Jul 2017 11:46:53 +0000 (07:46 -0400)
committerTomas Jedlicka <tomas.jedlicka@oracle.com>
Fri, 15 Sep 2017 22:28:15 +0000 (00:28 +0200)
commit653646c18333c734986db09affa7249c989375a3
tree098e279a4e708beaaf7f1d8b6b672779ba65e06f
parentec7b092325e24ad7cf19ee116f34eb42e929aa3f
dtrace: modules provide called from rcu atomic section

The per-module provide callback is called from within RCU read
critical section.  This results of running proivder code in
atomic context which can cause troubles.  Mainly due to sleeping
allocations calls in this code path.

Orabug: 26680982

Signed-off-by: Tomas Jedlicka <tomas.jedlicka@oracle.com>
Reviewed-by: Nick Alcock <nick.alcock@oracle.com>
Acked-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
dtrace/dtrace_dev.c
dtrace/dtrace_probe.c
dtrace/dtrace_util.c
dtrace/fbt_dev.c
include/dtrace/dtrace_impl.h
include/linux/dtrace_os.h
kernel/dtrace/dtrace_os.c
kernel/module.c