Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 840c1159 authored by Charan Teja Reddy's avatar Charan Teja Reddy Committed by Gerrit - the friendly Code Review server
Browse files

dma-buf: skip fd iteration for threads created with CLONE_FILES



All the threads in a thread group will share the same files_struct
unless it is not created with CLONE_FILES flags. Since most of the
threads will be created using the posix api, pthread_create, that
internally uses CLONE_FILES, we can skip iterating for the tasks that
share the same files_struct with the group leader in a thread group.

Change-Id: I84fc249ef37d7ebc55b59bc3b4ec4d3e6ace5165
Signed-off-by: default avatarCharan Teja Reddy <charante@codeaurora.org>
parent ee9b982a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment