Re: [RFC] mlock/stack guard interaction fixup

From: Sam Ravnborg
Date: Sat Aug 21 2010 - 12:08:57 EST


>
> > Out of interest, why is there no guard page for the VM_GROWSUP stack
> > case? Is it just that the memory layout on PA-RISC makes the stack grows
> > into the heap scenario impossible?
>
> No, it's just that I can't find it in myself to care about PA-RISC, so
> I never wrote the code. I don't think anything else has a grows-up
> stack. And even if I were to write the code, I couldn't even test it.
>
> It should be reasonably easy to do the VM_GROWSUP case too, but
> somebody with a PA-RISC would need to do it.

Tony Luck already provided a VM_GROWSUP version.

See: http://lkml.org/lkml/2010/8/20/325

[It is signed off by Tony Luc - but I guess they know each other ;-) ]

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/