Re: [PATCH] cxl: Fix DSI misses when the context owning task exits

2015-11-25 Thread Matthew R. Ochs
Reviewed-by: Matthew R. Ochs ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] cxl: Fix DSI misses when the context owning task exits

2015-11-25 Thread Frederic Barrat
Le 24/11/2015 11:56, Vaibhav Jain a écrit : Presently when a user-space process issues CXL_IOCTL_START_WORK ioctl we store the pid of the current task_struct and use it to get pointer to the mm_struct of the process, while processing page or segment faults from the capi card. However this

Re: [PATCH] cxl: Fix DSI misses when the context owning task exits

2015-11-24 Thread Ian Munsie
Thanks Vaibhav! This should definitely help people avoid pain in this corner case :) Acked-by: Ian Munsie ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] cxl: Fix DSI misses when the context owning task exits

2015-11-24 Thread Vaibhav Jain
Presently when a user-space process issues CXL_IOCTL_START_WORK ioctl we store the pid of the current task_struct and use it to get pointer to the mm_struct of the process, while processing page or segment faults from the capi card. However this causes issues when the thread that had originally