Searched hist:"952 b355760c196ec014dd0b6878f85a11496e3da" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-io.c | diff 952b355760c196ec014dd0b6878f85a11496e3da Thu Dec 10 17:51:57 CST 2009 Mikulas Patocka <mpatocka@redhat.com> 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 <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
|
H A D | dm.h | diff 952b355760c196ec014dd0b6878f85a11496e3da Thu Dec 10 17:51:57 CST 2009 Mikulas Patocka <mpatocka@redhat.com> 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 <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
|
H A D | dm.c | diff 952b355760c196ec014dd0b6878f85a11496e3da Thu Dec 10 17:51:57 CST 2009 Mikulas Patocka <mpatocka@redhat.com> 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 <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
|