Re: [PATCH] cxl: Fix struct pid leak when attaching a process through user API

2015-11-03 Thread Andrew Donnellan
On 03/11/15 23:13, Frederic Barrat wrote: When the cxl driver creates a context, it stores the pid of the calling task, and mistakenly increments the reference count of the struct pid twice, once through get_task_pid(), once through get_pid(). The reference count is only decremented once on detac

Re: [PATCH] cxl: Fix struct pid leak when attaching a process through user API

2015-11-03 Thread Ian Munsie
Acked-by: Ian Munsie ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] cxl: Fix struct pid leak when attaching a process through user API

2015-11-03 Thread Frederic Barrat
When the cxl driver creates a context, it stores the pid of the calling task, and mistakenly increments the reference count of the struct pid twice, once through get_task_pid(), once through get_pid(). The reference count is only decremented once on detach. As a result, a struct pid is leaked and i