[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-source-changes
Subject: CVS commit: src/sys/arch/x86/x86
From: "Jaromir Dolecek" <jdolecek () netbsd ! org>
Date: 2017-07-31 19:29:19
Message-ID: 20170731192919.36852FACD () cvs ! NetBSD ! org
[Download RAW message or body]
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic