mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 04:30:45 -08:00
Adding check for unexpected case of zone barging.
Copied from Perforce Change: 184583 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
dee2b3438b
commit
2d685bee13
1 changed files with 3 additions and 0 deletions
|
|
@ -912,6 +912,9 @@ static Res arenaAllocPolicy(Tract *tractReturn, Arena arena, SegPref pref,
|
|||
return ResCOMMIT_LIMIT;
|
||||
}
|
||||
}
|
||||
|
||||
/* FIXME: Think about this. We may have barged into a blacklisted zone. */
|
||||
AVER(ZoneSetInter(pref->zones, pref->avoid) == ZoneSetEMPTY);
|
||||
|
||||
/* Plan A: allocate from the free CBS in the requested zones */
|
||||
/* FIXME: Takes no account of other zones fields */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue