]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] qdio: make sure data structures are correctly aligned.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 10 Aug 2007 12:32:28 +0000 (14:32 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 10 Aug 2007 12:32:36 +0000 (14:32 +0200)
commitc854e0e95964578ae56d7e7c26af61a15bce62ea
treeac16722d835e946e05266ed2208c1cba30c3260d
parente45945ef789912a8f5c4a6bdbd709fbd6476c2a7
[S390] qdio: make sure data structures are correctly aligned.

The slsb structure contained at the beginning of the qdio_q structure
must start on a 256 byte boundary. To make sure this is the case even
if slab debugging is turned on create an own slab cache for qdio_q
structures.
Besides that don't use the slab allocator to allocate whole pages. Use
the page allocator instead.
Also fix a few memory leaks in error handling code.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio.c