diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2021-07-22 16:42:08 +0900 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-08-30 16:16:49 +0200 |
commit | 0b59e272f9324dac8c12444cf5926be84abd53f9 (patch) | |
tree | 8faa9e4b661802532cf3ec65438e6fb218888a14 /ipc | |
parent | 1b9fbe813016b08e08b22ddba4ddbf9cb1b04b00 (diff) | |
download | linux-0b59e272f9324dac8c12444cf5926be84abd53f9.tar.bz2 |
Bluetooth: reorganize functions from hci_sock_sendmsg()
Since userfaultfd mechanism allows sleeping with kernel lock held,
avoiding page fault with kernel lock held where possible will make
the module more robust. This patch just brings memcpy_from_msg() calls
to out of sock lock.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions