NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/43581: Support for pthread(3) red zones

>Number:         43581
>Category:       lib
>Synopsis:       Support for pthread(3) red zones
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 07 15:40:00 +0000 2010
>Originator:     Jukka Ruohonen
>Release:        Irrelevant

This is a support request for "red zones" or "guard pages" in the pthread(3)
implementation; see pthread_attr_getguardsize(3). To illustrate my (limited)
understanding of this:

                | alignment... |
                | thread attr  |
                | thread stack |
                | red zone     |
                | alignment... |

Note that this "red zone" should be a separate area at the end of the thread
stack. (I believe there was a bug in the Linux NPTL implementation where the
zone was reserved within stack size allocation.)

But the possible implementor likely knows what this is about.


Code inspection.



Home | Main Index | Thread Index | Old Index