Re: [PATCH 3/9] staging: lowmemorykiller: Fix task_struct leak

2016-02-08 Thread John Stultz
On Sun, Feb 7, 2016 at 2:49 PM, Greg KH wrote: > On Fri, Jan 29, 2016 at 10:07:32PM -0800, John Stultz wrote: >> From: San Mehat >> >> As it turns out, the CONFIG_PROFILING interfaces leak a >> task struct if the notifier chain returns NOTIFY_OK.. doh. >> >> This patch reworks lowmemkiller to

Re: [PATCH 3/9] staging: lowmemorykiller: Fix task_struct leak

2016-02-08 Thread John Stultz
On Sun, Feb 7, 2016 at 2:49 PM, Greg KH wrote: > On Fri, Jan 29, 2016 at 10:07:32PM -0800, John Stultz wrote: >> From: San Mehat >> >> As it turns out, the CONFIG_PROFILING interfaces leak a >> task struct if the notifier chain returns NOTIFY_OK..

Re: [PATCH 3/9] staging: lowmemorykiller: Fix task_struct leak

2016-02-07 Thread Greg KH
On Fri, Jan 29, 2016 at 10:07:32PM -0800, John Stultz wrote: > From: San Mehat > > As it turns out, the CONFIG_PROFILING interfaces leak a > task struct if the notifier chain returns NOTIFY_OK.. doh. > > This patch reworks lowmemkiller to use the new generic task > free notifier chain. > > Cc:

Re: [PATCH 3/9] staging: lowmemorykiller: Fix task_struct leak

2016-02-07 Thread Greg KH
On Fri, Jan 29, 2016 at 10:07:32PM -0800, John Stultz wrote: > From: San Mehat > > As it turns out, the CONFIG_PROFILING interfaces leak a > task struct if the notifier chain returns NOTIFY_OK.. doh. > > This patch reworks lowmemkiller to use the new generic task > free

[PATCH 3/9] staging: lowmemorykiller: Fix task_struct leak

2016-01-29 Thread John Stultz
From: San Mehat As it turns out, the CONFIG_PROFILING interfaces leak a task struct if the notifier chain returns NOTIFY_OK.. doh. This patch reworks lowmemkiller to use the new generic task free notifier chain. Cc: Android Kernel Team Cc: Greg KH Signed-off-by: San Mehat [jstultz: Commit

[PATCH 3/9] staging: lowmemorykiller: Fix task_struct leak

2016-01-29 Thread John Stultz
From: San Mehat As it turns out, the CONFIG_PROFILING interfaces leak a task struct if the notifier chain returns NOTIFY_OK.. doh. This patch reworks lowmemkiller to use the new generic task free notifier chain. Cc: Android Kernel Team Cc: Greg KH