summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorChao Gao <chao.gao@intel.com>2022-07-15 18:45:35 +0800
committerChristoph Hellwig <hch@lst.de>2022-07-18 06:50:01 +0200
commit57e6840cf79a4af84f44af3f8cfeacd8a14a6c6f (patch)
tree066c3e6401fa68816347a4c109db5b94d729af56 /include/linux
parent44335487bab05e06902f9184179857aae764bfe6 (diff)
downloadlinux-stable-57e6840cf79a4af84f44af3f8cfeacd8a14a6c6f.tar.gz
linux-stable-57e6840cf79a4af84f44af3f8cfeacd8a14a6c6f.tar.bz2
linux-stable-57e6840cf79a4af84f44af3f8cfeacd8a14a6c6f.zip
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: Chao Gao <chao.gao@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions