ANDROID: qcom: Add flush_delayed_fput to ABI
When a kernel thread calls dma_buf_put() to release the last reference to a dma-buf, fput_many() defers calling the release callback to a workqueue. This means that if the same kernel thread later calls dma_heap_buffer_alloc(), it has no guarantee that the memory from the prior free is available, leading to random failures. As a short-term workaround, call flush_delayed_fput() to ensure the free completes synchronously. Leaf changes summary: 1 artifact changed Changed leaf types summary: 0 leaf type changed Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable 1 Added function: [A] 'function void flush_delayed_fput()' Bug: 210598057 Change-Id: Id936aa0bcd410b23b12f4b922b676aa61a358b4c Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -625,6 +625,7 @@
|
||||
flow_rule_match_ports
|
||||
flow_rule_match_vlan
|
||||
flush_dcache_page
|
||||
flush_delayed_fput
|
||||
flush_delayed_work
|
||||
flush_work
|
||||
flush_workqueue
|
||||
|
||||
Reference in New Issue
Block a user