Module Name: src Committed By: jdolecek Date: Mon Jul 31 19:29:19 UTC 2017
Modified Files: src/sys/arch/x86/x86: bus_dma.c Log Message: modify code handling mismatch of nsegs in _bus_dmamem_alloc_range() to a KASSERT() - plain return leaks memory, and this condition should never trigger unless there is bug in uvm_pglistalloc(), so it seems to be waste to check this other ports usually simply do not check this, with exception of arm, which does even full cleanup (checks it and calls uvm_pglistfree()) To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/arch/x86/x86/bus_dma.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.