Skip to content
Commit 57e6840c authored by Chao Gao's avatar Chao Gao Committed by Christoph Hellwig
Browse files

swiotlb: ensure a segment doesn't cross the area boundary



Free slots tracking assumes that slots in a segment can be allocated to
fulfill a request. This implies that slots in a segment should belong to
the same area. Although the possibility of a violation is low, it is better
to explicitly enforce segments won't span multiple areas by adjusting the
number of slabs when configuring areas.

Signed-off-by: default avatarChao Gao <chao.gao@intel.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 44335487
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment