Bug 569714
| Summary: | malloc: fallback to mmap when brk fails contravenes RLIMIT_DATA (ulimit -d) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matt McCutchen <matt> | ||||
| Component: | glibc | Assignee: | Andreas Schwab <schwab> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 12 | CC: | jakub, schwab | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-03-05 10:38:20 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Matt McCutchen
2010-03-02 06:53:01 UTC
Use RLIMIT_AS. As I said, RLIMIT_AS does not solve my problem. Why is it not a bug that RLIMIT_DATA does not work? Reopening because an adequate explanation of why this is not a bug was not given. RLIMIT_DATA works as designed. RLIMIT_DATA is useless because whenever glibc hits the limit with brk, it just calls mmap instead. I could understand saying that RLIMIT_DATA is broken and will be left so, but saying that it works is ludicrous. See getrlimit(2). See bug 582072. |