https://bugs.kde.org/show_bug.cgi?id=274189
--- Comment #1 from Иван Туманов <tu4manj...@yandex.ru> --- (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 to write to/read from. For this we use a somewhat > undocumented feature of the linux kernel (see > http://lkml.org/lkml/2004/1/12/265 and/or kernel sources) where mremap when > the source size parameter is 0, really does not move the mapping but > duplicates it (for MAP_SHARED mappings). > > Unfortunately valgrind does not seem to implement this, and when run under > valgrind the attached program returns -1 from mremap (and sets errno to 22). > > I tried to run it on some february checkout of valgrind svn (everything > 64bit here), and could not run it on a recent checkout since for some reason > it does not compile here (lots of undefined references for symbols with s390 > in the name). -- You are receiving this mail because: You are watching all bug changes.