Project

General

Profile

Actions

Bug #13822

open

bhyve memory should exert memory pressure

Added by Patrick Mooney 24 days ago. Updated 18 days ago.

Status:
In Progress
Priority:
Normal
Category:
bhyve
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

When bhyve allocates memory for a guest (for the guest RAM, specifically) today, it does so in a KM_NOSLEEP manner. This is to avoid the allocation entering an uninterruptable (by signals) sleep, but also results in the allocation bypassing logic which informs the rest of the system about the memory pressure exerted by the allocation. In order to make timely and reliable allocations, those page reservation mechanisms should be updated to allow requests which can apply that memory pressure (implying KM_SLEEP), but are also fallible and interruptable via signal, so that bhyve may be updated to use them.

Actions #1

Updated by Electric Monk 18 days ago

  • Gerrit CR set to 1522
Actions

Also available in: Atom PDF