[valgrind] [Bug 274189] mremap hidden linux feature not implemented

2019-07-25 Thread Eric Hoffman
https://bugs.kde.org/show_bug.cgi?id=274189 --- Comment #4 from Eric Hoffman --- It's simply not implemented... Line 312 in coregrind/m_syswrap/syswrap-generic.c /* kernel doesn't reject this, but we do. */ if (old_len == 0) goto eINVAL; This behavior had been added to Linux man pa

[valgrind] [Bug 274189] mremap hidden linux feature not implemented

2019-07-25 Thread Eric Hoffman
https://bugs.kde.org/show_bug.cgi?id=274189 --- Comment #3 from Eric Hoffman --- I added a test case for this issue (see attachment). This is NOT an undocumented feature: If the value of old_size is zero, and old_address refers to a shareable mapping (see mmap(2) MAP_SHARED), then

[valgrind] [Bug 274189] mremap hidden linux feature not implemented

2019-07-25 Thread Eric Hoffman
https://bugs.kde.org/show_bug.cgi?id=274189 Eric Hoffman changed: What|Removed |Added CC||ehoff...@videotron.ca --- Comment #2 from Eric H

[valgrind] [Bug 274189] mremap hidden linux feature not implemented

2019-06-07 Thread Иван Туманов
https://bugs.kde.org/show_bug.cgi?id=274189 --- Comment #1 from Иван Туманов --- (In reply to plasmahh from comment #0) > Hi, > > some of our servers use a feature we call "virtual ringbuffer" where we have > a ringbuffer that guarantees to always offer its free space as one > contiguous block t

[valgrind] [Bug 274189] mremap hidden linux feature not implemented

2019-06-07 Thread Иван Туманов
https://bugs.kde.org/show_bug.cgi?id=274189 Иван Туманов changed: What|Removed |Added Assignee|jsew...@acm.org |tu4manj...@yandex.ru CC|