summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorRoland Dreier <roland@eddore.topspincom.com>2005-08-19 19:36:11 +0200
committerRoland Dreier <rolandd@cisco.com>2005-08-27 05:37:37 +0200
commitd20a40192868082eff6fec729b311cb8463b4a21 (patch)
treedae3cac48c76da789215cb9067559a7b721cbc5f /mm
parent[PATCH] IB/mthca: Move WQE structures into their own header (diff)
downloadlinux-d20a40192868082eff6fec729b311cb8463b4a21.tar.xz
linux-d20a40192868082eff6fec729b311cb8463b4a21.zip
[PATCH] IB/mthca: Handle context tables smaller than our chunk size
When creating a table in context memory where the table is smaller than our chunk size, we don't want to allocate and map a full chunk. Instead, allocate just enough memory to cover the table. This can be pretty simple because all tables are a power-of-2 size, so either the table is a multiple of the chunk size, or it's smaller than one chunk. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions