[S390] cio: reduce memory consumption of itcw structures
authorStefan Weinhuber <wein@de.ibm.com>
Wed, 5 Jan 2011 11:48:01 +0000 (12:48 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 5 Jan 2011 11:47:29 +0000 (12:47 +0100)
commit9062014cb60194630272709da82d5879d563865e
tree93c48a63701415ced8fac9664299290ef8fca248
parentf3e1a273594c7d82b07102bd03e8adfe681f2864
[S390] cio: reduce memory consumption of itcw structures

Any list of indirect data adresses (TIDAL) used by a TCW must not
cross a page boundary. The original itcw implementation complies with
this restriction by allocating allmost twice as much memory as
actually needed, so that in any case there is enough room for the full
TIDAL, either above or below the page boundary.
This patch implements an alternative method, by using a TTIC TIDAW to
connect TIDAL parts below and above a page boundary.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/itcw.c