[Linaro-mm-sig] [PATCH 1/2] mm: replace BUG_ON in vm_insert_page with a return of an error
Christian König
ckoenig.leichtzumerken at gmail.com
Thu Feb 4 07:53:15 UTC 2021
Am 03.02.21 um 21:20 schrieb Suren Baghdasaryan:
> [SNIP]
> If there is a reason to set this flag other than historical use of
> carveout memory then we wanted to catch such cases and fix the drivers
> that moved to using dmabuf heaps. However maybe there are other
> reasons and if so I would be very grateful if someone could explain
> them. That would help me to come up with a better solution.
Well one major reason for this is to prevent accounting of DMA-buf pages.
So you are going in circles here and trying to circumvent an intentional
behavior.
Daniel is right that this is the completely wrong approach and we need
to take a step back and think about it on a higher level.
Going to replay to his mail as well.
Regards,
Christian.
More information about the dri-devel
mailing list