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

2016-01-26 Thread Frederic Barrat
Le 26/01/2016 04:11, Michael Ellerman a écrit : This no longer applies, since we merged 7b8ad495d592 ("cxl: Fix DSI misses when the context owning task exits"). Yes, on 4.5, it has been superseded by 7b8ad495d592. It may still be worth considering for stable releases though. Fred

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

2016-01-25 Thread Michael Ellerman
On Tue, 2015-03-11 at 12:13:52 UTC, 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 de

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