Re: [PATCH net v2 0/2] fix two bugs related to page_pool
From: Jakub Kicinski
Date: Mon Oct 14 2024 - 20:14:22 EST
On Sat, 12 Oct 2024 20:05:31 +0800 Yunsheng Lin wrote:
> 1. Semantics changing of supporting unlimited inflight pages
> to limited inflight pages that are as large as the pool_size
> of page_pool.
How can this possibly work?
The main thing stopping me from reposting my fix that it'd be nice to
figure out if a real IOMMU device is bound or not. If we don't have
real per-device mappings we presumably don't have to wait. If we can
check this condition we are guaranteed not to introduce regressions,
since we would be replacing a crash by a wait, which is strictly better.
If we'd need to fiddle with too many internals to find out if we have
to wait - let's just always wait and see if anyone complains.