summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regex2.h
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2009-01-07 21:25:44 +0000
committermarius <marius@FreeBSD.org>2009-01-07 21:25:44 +0000
commit325428c5284e98d68582a2629bcfbbbde1a274ae (patch)
tree5f438ca530f7116355200da08ff6ca3468c15a38 /lib/libc/regex/regex2.h
parentf885f01ae19df45aece1f108bd6c756e6b12b4f4 (diff)
downloadFreeBSD-src-325428c5284e98d68582a2629bcfbbbde1a274ae.zip
FreeBSD-src-325428c5284e98d68582a2629bcfbbbde1a274ae.tar.gz
Check the return values of contigmalloc(9) as well as bus_dma(9)
functions and stop attaching of dcons(4) and dcons_crom(4) if they indicate failure. This fixes a panic seen on sparc64 machines with no free physical memory in the requested 32-bit region but still doesn't make dcons(4)/dcons_crom(4) these work. I think the latter can be fixed by simply specifying ~0UL as the upper limit for contigmalloc(9) and letting the bounce pages and the IOMMU respectively handle limitations of the DMA engine. I didn't want to change that without the consensus of simokawa@ though, who unfortunately didn't reply so far. MFC after: 1 week
Diffstat (limited to 'lib/libc/regex/regex2.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud