Re: [PATCH] mm: larger stack guard gap, between vmas

From: Hugh Dickins
Date: Fri Jun 23 2017 - 00:36:23 EST


On Thu, 22 Jun 2017, Ben Hutchings wrote:

> Here's my attempt at a backport to 3.2. This is only tested on
> x86_64 and I think I should introduce local variables for
> vma_start_gap() in a few places. I had to cherry-pick commit
> 09884964335e "mm: do not grow the stack vma just because of an overrun
> on preceding vma" before this one (which was a clean cherry-pick).

Both your speed and your stamina are much better than mine; and your
patch belies your Sturgeon's law signature. I haven't got beyond the
architectures yet in my parallel attempt, and you do appear to be
doing everything right (but a local variable often welcome, yes).

I'm giving up for the night, will contine tomorrow.
The only discrepancy I notice so far is that I have
arch/alpha/kernel/osf_sys.c
arch/ia64/mm/hugetlbpage.c
arch/sparc/kernel/sys_sparc_32.c
in my list of changed files, but they're not in yours.

Hugh