mirror of
https://github.com/opnsense/src.git
synced 2026-03-11 10:43:03 -04:00
Only allocate struct_mm after we checked that other threads do not carry useful mm_struct. If they don't, drop process lock, allocate, and recheck. Note that for M_NOWAIT allocations we could avoid dropping process lock, but I do not think that this increased complexity is useful. Reviewed by: hselasky Sponsored by: Mellanox Technologies/NVidia Networking MFC after: 1 week |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||