Summary: | shmat with hugepages (SHM_HUGETLB) fails with EINVAL when executed on valgrind | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Hideaki Kimura <hideaki.kimura> |
Component: | memcheck | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | philippe.waroquiers |
Priority: | NOR | ||
Version First Reported In: | 3.9.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Hideaki Kimura
2014-09-10 23:19:35 UTC
Bug is fixed in revision 14683 or rather, this revision ensures that SHM_HUGETLB flag is ignored. A warning is given (once) to the user if such a flag is ignored Thanks for the fix. Yes, ignoring SHM_HUGETLB is sufficient for my usecase (and probably everyone's, who cares TLB performance in valgrind runs). Is it in 3.10.0 release? (In reply to Hideaki Kimura from comment #2) > Thanks for the fix. Yes, ignoring SHM_HUGETLB is sufficient for my usecase > (and probably everyone's, who cares TLB performance in valgrind runs). > Is it in 3.10.0 release? It is in the SVN version (the future 3.11.0). |