diff options
author | Kristian H. Kristensen <hoegsberg@gmail.com> | 2019-03-20 10:09:10 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2019-04-19 11:50:07 -0700 |
commit | b673499ae738e7790b1b9f65e784999e5804abd3 (patch) | |
tree | 0ff449011902700b976bb2370ac1951e292a3055 /scripts/gdb/linux/utils.py | |
parent | 8ea274accda92d36bd510a3272adf745c6376d3f (diff) | |
download | linux-stable-b673499ae738e7790b1b9f65e784999e5804abd3.tar.gz linux-stable-b673499ae738e7790b1b9f65e784999e5804abd3.tar.bz2 linux-stable-b673499ae738e7790b1b9f65e784999e5804abd3.zip |
drm/msm: Split submit_lookup_objects() into two loops
First loop does copy_from_user() without the table lock held and
just stores the handle. Second loop looks up buffer objects with the
table_lock held without potentially blocking or faulting. This lets us
clean up a bunch of custom, non-faulting copy_from_user() code.
Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions