On Fri, Feb 3, 2012 at 1:31 PM, KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxx> wrote: > The fact is, now process stack and pthread stack clearly behave > different dance. libc don't expect pthread stack grow automatically. > So, your patch will break userland. Just only change display thing. Thanks for your feedback. This attempt was to unify this behaviours, but I guess you're right; I need to check if glibc really has a problem with this than assuming that it should not. I will check with glibc maintainers on this and update here. Since this flag is specifically for glibc, it should not affect other applications or libraries. The proc changes won't make sense without the change to mark thread stacks unless we create yet another vm flag to reflect MAP_STACK in the vma and then use that for both process and its threads. I'll submit a patch with this (if acceptable of course) if glibc strictly requires fixed sized stacks. -- Siddhesh Poyarekar http://siddhesh.in -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html