Re: [PATCH v2] cxl: Fix possible deadlock when processing page faults from cxllib

2018-04-03 Thread Frederic Barrat
Le 03/04/2018 à 16:06, Laurent Dufour a écrit : On 03/04/2018 15:54, Frederic Barrat wrote: cxllib_handle_fault() is called by an external driver when it needs to have the host resolve page faults for a buffer. The buffer can cover several pages and VMAs. The function iterates over all the pag

Re: [PATCH v2] cxl: Fix possible deadlock when processing page faults from cxllib

2018-04-03 Thread Laurent Dufour
On 03/04/2018 15:54, Frederic Barrat wrote: > cxllib_handle_fault() is called by an external driver when it needs to > have the host resolve page faults for a buffer. The buffer can cover > several pages and VMAs. The function iterates over all the pages used > by the buffer, based on the page size

[PATCH v2] cxl: Fix possible deadlock when processing page faults from cxllib

2018-04-03 Thread Frederic Barrat
cxllib_handle_fault() is called by an external driver when it needs to have the host resolve page faults for a buffer. The buffer can cover several pages and VMAs. The function iterates over all the pages used by the buffer, based on the page size of the VMA. To ensure some stability while process