[FIX] remove mutex and dput() functions from atomic context 81/55681/1
authorAnatolii Nikulin <nikulin.a@samsung.com>
Fri, 13 Nov 2015 07:49:54 +0000 (10:49 +0300)
committerAlexander Aksenov <a.aksenov@samsung.com>
Mon, 28 Dec 2015 17:30:44 +0000 (20:30 +0300)
commit8bf6ea6a6dbb6ee58a8def96bf5779470d17e4ae
tree6f997e40bb7fad63c99f92a77982310ff3d37142
parent116727f69bb660364ef06429ccb826dde55102ae
[FIX] remove mutex and dput() functions from atomic context

Using mutex in __check_if_instrumented() called from probe handler
leads to BUG "sleeping function called from invalid context",
because probe handler calls from atomic context.

Also we cannot use dput() in atomic context.

Change-Id: I69052c0749f3734e7d4eabf07656a40e4a8f963e
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
preload/preload_control.c