Commit a79a415f authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

ANDROID: fixup task_struct to avoid ABI breakage



Reuse task_struct.worker_private to store task_dma_buf_info pointer and
avoid adding new task_struct members that would lead to ABI breakage.
For kthreads we add task_dma_buf_info member to struct kthread to store
dmabuf accounting information. io_workers do not map dmabufs, so we
do not store dmabuf accounting information for them.

[surenb: backport from 6.6 requires additional reset of worker_private
in io_worker_exit() to avoid double-freeing]
Bug: 424648392
Bug: 435768786
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:80ea225111f96bcde548b0cab313f634664ef1b3)
Merged-In: I90bf6762db62f36a2ef80e345bfa811016cdff8b
Change-Id: I90bf6762db62f36a2ef80e345bfa811016cdff8b
parent 9f07fbf3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment