bank16k: first pass swap logic
authorAlan Cox <alan@linux.intel.com>
Thu, 19 Feb 2015 23:05:58 +0000 (23:05 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 19 Feb 2015 23:05:58 +0000 (23:05 +0000)
commit7e2f263ee838378715a3fa45e67863d8a20bdc0d
treecb7d934001351149906f6a32e09e1066de470a07
parent14eee5046ca6d3f53a54a5573d6707f80eaa62dc
bank16k: first pass swap logic

Do the swap in four requests so that each I/O is one mapping in memory space
and the drivers can stay sane. Right now swap passes the process ptr and
that should probably change to the page number (or for the simpler cases
the bank is the same thing).
Kernel/bank16k.c