Contigfree takes too much time that cuases PCIe driver unload to take up to 30 minutes
Ryan Stone
rysto32 at gmail.com
Fri Oct 5 18:01:13 UTC 2018
I'm not sure why configfree() would be taking a long time, but
configmalloc() can be extraordinarily expensive when it needs to
defragment memory to meet the request. Does your application really
require a lot of physically contiguous memory? if you can restructure
to not require contigmalloc() all -- maybe by using S/G DMA -- you may
find your life significantly easier.
More information about the freebsd-hackers
mailing list