]> asedeno.scripts.mit.edu Git - linux.git/commit
zram: Convert to hotplug state machine
authorAnna-Maria Gleixner <anna-maria@linutronix.de>
Sat, 26 Nov 2016 23:13:46 +0000 (00:13 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 1 Dec 2016 23:52:39 +0000 (00:52 +0100)
commit1dd6c834fa4a75a86fecefb6d1f1525f1cb755c7
tree1f2cc168f44a5d4ff4e0c4aa8b3c9318249053b4
parent3f7cd919f3df05918535de39273174710409eb40
zram: Convert to hotplug state machine

Install the callbacks via the state machine with multi instance support and let
the core invoke the callbacks on the already online CPUs.

[bigeasy: wire up the multi instance stuff]
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: rt@linutronix.de
Cc: Nitin Gupta <ngupta@vflare.org>
Link: http://lkml.kernel.org/r/20161126231350.10321-19-bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/block/zram/zcomp.c
drivers/block/zram/zcomp.h
drivers/block/zram/zram_drv.c
include/linux/cpuhotplug.h