summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-path-selector.h
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2012-09-08 00:44:03 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-09-10 01:35:28 +0200
commit7e4bbaf0bf13c33be275e8a17997597dfd0ed03a (patch)
tree73fce92616db41e744b45a817da40d727b79ea1c /drivers/md/dm-path-selector.h
parentpowerpc/eeh: Move EEH initialization around (diff)
downloadlinux-7e4bbaf0bf13c33be275e8a17997597dfd0ed03a.tar.xz
linux-7e4bbaf0bf13c33be275e8a17997597dfd0ed03a.zip
powerpc/eeh: Use slab to allocate eeh devices
The EEH initialization functions have been postponed until slab/slub are ready. So we use slab/slub to allocate the memory chunks for newly creatd EEH devices. That would save lots of memory. The patch also does cleanup to replace "kmalloc" with "kzalloc" so that we needn't clear the allocated memory chunk explicitly. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/md/dm-path-selector.h')
0 files changed, 0 insertions, 0 deletions