https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208365

--- Comment #16 from Roger Pau Monné <[email protected]> ---
(In reply to Hans Petter Selasky from comment #15)

Yes, there are several optimizations that can be applied in order to improve
the patch. As I've noted in the comment, this is just an initial approach to
make sure the problem is caused by not bouncing the whole region (and then the
offsets don't match anymore).

Regarding the "again" label, I'm not really sure we can get rid of it, for the
mapped case (_bus_dmamap_count_pages) it looks like we can remove it, but for
the other cases it depends on whether maxsegsz is a multiple of a PAGE_SIZE, or
else we might end up with segments that don't have consecutive offsets AFAICT.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"

Reply via email to