mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
Reserve one page for the DMA subsystem, that may need it when the I/O
buffer is not page aligned.
Without this change, writes with the maximum allowed size failed, if:
- physical memory was fragmented, making it necessary to use one DMA
segment for each page
- the buffer to be written was not page aligned, causing the DMA
subsystem to need one extra segment
In the scenario above, the DMA subsystem would run out of segments,
resulting in a write with no SG segments, that would fail.
Reviewed by: imp
Sponsored by: Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision: https://reviews.freebsd.org/D30798
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| aacraid.c | ||
| aacraid_cam.c | ||
| aacraid_debug.c | ||
| aacraid_debug.h | ||
| aacraid_endian.c | ||
| aacraid_endian.h | ||
| aacraid_linux.c | ||
| aacraid_pci.c | ||
| aacraid_reg.h | ||
| aacraid_var.h | ||