vm: Initialize the transient buffer mapping arena with M_WAITOK
The wait flag is passed to UMA when allocating boundary tags for the initial span, and UMA expects either M_WAITOK or M_NOWAIT to be present. Reported by: cperciva MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6fb7c42d59
commit
f82177b8cf
@ -235,7 +235,7 @@ again:
|
||||
if (bio_transient_maxcnt != 0) {
|
||||
size = (long)bio_transient_maxcnt * maxphys;
|
||||
vmem_init(transient_arena, "transient arena",
|
||||
firstaddr, size, PAGE_SIZE, 0, 0);
|
||||
firstaddr, size, PAGE_SIZE, 0, M_WAITOK);
|
||||
firstaddr += size;
|
||||
}
|
||||
if (firstaddr != kmi->clean_eva)
|
||||
|
Loading…
x
Reference in New Issue
Block a user