Revert "mm: only enforce minimum stack gap size if it's sensible"
This reverts commit 2735539096
.
This commit is contained in:
parent
0bd52cb48d
commit
b96c98434a
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ static unsigned long mmap_base(unsigned long rnd, struct rlimit *rlim_stack)
|
|||
if (gap + pad > gap)
|
||||
gap += pad;
|
||||
|
||||
if (gap < MIN_GAP && MIN_GAP < MAX_GAP)
|
||||
if (gap < MIN_GAP)
|
||||
gap = MIN_GAP;
|
||||
else if (gap > MAX_GAP)
|
||||
gap = MAX_GAP;
|
||||
|
|
Loading…
Reference in a new issue