From: Mikulas Patocka Date: Thu, 10 Dec 2009 23:51:57 +0000 (+0000) Subject: dm io: use slab for struct io X-Git-Tag: v2.6.33-rc1~75^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=952b355760c196ec014dd0b6878f85a11496e3da;p=pandora-kernel.git dm io: use slab for struct io Allocate "struct io" from a slab. This patch changes dm-io, so that "struct io" is allocated from a slab cache. It used to be allocated with kmalloc. Allocating from a slab will be needed for the next patch, because it requires a special alignment of "struct io" and kmalloc cannot meet this alignment. Signed-off-by: Mikulas Patocka Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed