Re: [PATCH] mm/zswap: unregister zswap_cpu_notifier_block in cleanup procedure

2014-11-13 Thread Ganesh Mahendran
2014-11-13 10:53 GMT+08:00 Seth Jennings : > On Sun, Nov 09, 2014 at 07:22:23PM +0800, Mahendran Ganesh wrote: >> In zswap_cpu_init(), the code does not unregister *zswap_cpu_notifier_block* >> during the cleanup procedure. > > This is not needed. If we are in the cleanup code, we never got to the

Re: [PATCH] mm/zswap: unregister zswap_cpu_notifier_block in cleanup procedure

2014-11-12 Thread Seth Jennings
On Sun, Nov 09, 2014 at 07:22:23PM +0800, Mahendran Ganesh wrote: > In zswap_cpu_init(), the code does not unregister *zswap_cpu_notifier_block* > during the cleanup procedure. This is not needed. If we are in the cleanup code, we never got to the __register_cpu_notifier() call. Thanks, Seth >

[PATCH] mm/zswap: unregister zswap_cpu_notifier_block in cleanup procedure

2014-11-09 Thread Mahendran Ganesh
In zswap_cpu_init(), the code does not unregister *zswap_cpu_notifier_block* during the cleanup procedure. This patch fix this issue. Signed-off-by: Mahendran Ganesh --- mm/zswap.c |1 + 1 file changed, 1 insertion(+) diff --git a/mm/zswap.c b/mm/zswap.c index ea064c1..51a2c45 100644 --- a