summaryrefslogtreecommitdiffstats
path: root/fs/ceph/msgr.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2010-10-11 19:40:25 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2010-10-11 23:08:36 +0200
commite79f86b2ef9c0a8c47225217c1018b7d3d90101c (patch)
tree53ba03cad303a566831fa03ebbfc408ab36ae36c /fs/ceph/msgr.h
parentswiotlb: make io_tlb_overflow static (diff)
downloadlinux-e79f86b2ef9c0a8c47225217c1018b7d3d90101c.tar.xz
linux-e79f86b2ef9c0a8c47225217c1018b7d3d90101c.zip
swiotlb: Use page alignment for early buffer allocation
We could call free_bootmem_late() if swiotlb is not used, and it will shrink to page alignment. So alloc them with page alignment at first, to avoid lose two pages before patch: [ 0.000000] memblock_x86_reserve_range: [00d3600000, 00d7600000] swiotlb buffer [ 0.000000] memblock_x86_reserve_range: [00d7e7ef40, 00d7e9ef40] swiotlb list [ 0.000000] memblock_x86_reserve_range: [00d7e3ef40, 00d7e7ef40] swiotlb orig_ad [ 0.000000] memblock_x86_reserve_range: [000008a000, 0000092000] swiotlb overflo after patch will get [ 0.000000] memblock_x86_reserve_range: [00d3600000, 00d7600000] swiotlb buffer [ 0.000000] memblock_x86_reserve_range: [00d7e7e000, 00d7e9e000] swiotlb list [ 0.000000] memblock_x86_reserve_range: [00d7e3e000, 00d7e7e000] swiotlb orig_ad [ 0.000000] memblock_x86_reserve_range: [000008a000, 0000092000] swiotlb overflo Signed-off-by: Yinghai Lu <yinghai@kernel.org> Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'fs/ceph/msgr.h')
0 files changed, 0 insertions, 0 deletions