summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorMohamed Ahmed <mohamedahmedegypt2001@gmail.com>2026-11-18 01:43:50 +0400
committerDave Airlie <airlied@redhat.com>2026-11-19 08:28:34 +1000
commitb1939b201353d803f09a8eb07aa69e44f8441701 (patch)
tree3e10f50cef4676899247fe543c38626973843eeb /rust/kernel/alloc/allocator
parent80ac6d197218c3399d66674167a4d7c9051a25e2 (diff)
drm/nouveau: do not return early from a synchronous VM_BIND
A synchronous VM_BIND waits for its job with an interruptible wait and ignores the result. On a signal the ioctl returns 0 while the job is still queued. Userspace can then use the new mappings before the page tables are written, and the channel can take an MMU fault. Wait uninterruptibly. A synchronous job takes no syncobjs, so only the jobs queued before it on the same scheduler can delay it. Fixes: b88baab82871 ("drm/nouveau: implement new VM_BIND uAPI") Cc: stable@vger.kernel.org Signed-off-by: Mohamed Ahmed <mohamedahmedegypt2001@gmail.com> Tested-by: Thomas Andersen <phomes@gmail.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patch.msgid.link/20261117214352.337961-2-mohamedahmedegypt2001@gmail.com
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions