Re: [PATCH] ocxl: Fix page fault handler in case of fault on dying process

2018-06-22 Thread Andrew Donnellan
On 18/06/18 22:14, Frederic Barrat wrote: If a process exits without doing proper cleanup, there's a window where an opencapi device can try to access the memory of the dying process and may trigger a page fault. That's an expected scenario and the ocxl driver holds a reference on the mm_struct o

Re: [PATCH] ocxl: Fix page fault handler in case of fault on dying process

2018-06-19 Thread Alastair D'Silva
On Mon, 2018-06-18 at 14:14 +0200, Frederic Barrat wrote: > If a process exits without doing proper cleanup, there's a window > where an opencapi device can try to access the memory of the dying > process and may trigger a page fault. That's an expected scenario and > the ocxl driver holds a refere

[PATCH] ocxl: Fix page fault handler in case of fault on dying process

2018-06-18 Thread Frederic Barrat
If a process exits without doing proper cleanup, there's a window where an opencapi device can try to access the memory of the dying process and may trigger a page fault. That's an expected scenario and the ocxl driver holds a reference on the mm_struct of the process until the opencapi device is n