diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2008-08-16 05:09:33 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-08-18 14:22:35 +1000 |
commit | 370e4587d0a6bf80a0c421583fe579a13f3d8773 (patch) | |
tree | f56502407decd8e833b6e7cb50b51b3d51ce6150 /drivers/infiniband/hw/cxgb3/cxio_dbg.c | |
parent | 81f14997e8e8a10eb75ca593674d2b0c94129a21 (diff) |
powerpc: Fix CMM page loaning on 64k page kernel with 4k hardware pages
If the firmware page size used for collaborative memory overcommit
is 4k, but the kernel is using 64k pages, the page loaning is currently
broken as it only marks the first 4k page of each 64k page as loaned.
This fixes this to iterate through each 4k page and mark them all as
loaned/active.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/cxio_dbg.c')
0 files changed, 0 insertions, 0 deletions