Skip to contentSkip to conversation

Emulated coherent graphics memory take 2

RFC PATCH Hillf Danton 1 participant 1 message Sep 15, 2019 Memory management

lore
Share & tools
lore
#0 lore raw

On Fri, 13 Sep 2019 11:32:06 +0200

Quoted 8 lines

The mm patch page walk interface has been reworked to be similar to the reworked page-walk code (mm/pagewalk.c). There have been two other solutions to consider:
1) Using the page-walk code. That is currently not possible since it requires the mmap-sem to be held for the struct vm_area_struct vm_flags and for huge page splitting. The pagewalk code in this patchset can't hold the mmap sems since it will lead to locking inversion.

Specify the locking scenario, if non-rfc is planned, to help understand the new wheel this patchset looks to create, as two days of finding it in the works after ba4e7d973dd0 failed.