[PATCH 0/6] Various libpager fixes

2021-05-06 Thread Sergey Bugaev
While hacking further on tarfs mmap support, I've come across some issues in libpager and I thought I'd fix them. The issues range from plain bugs (such as pager_offer_page () always silently failing) to minor things that could be improved. The patches are fairly independent, but they touch a lot

Re: libpager fixes

2014-03-25 Thread Justus Winter
Quoting Samuel Thibault (2014-03-25 11:52:43) > Justus Winter, le Fri 21 Mar 2014 13:57:51 +0100, a écrit : > > I'm trying to find and fix a deadlock that could very well be in > > libpager. > > When do you get it? What effect does it have: just deadlock a process, > or the whole pager? I'm work

Re: libpager fixes

2014-03-25 Thread Samuel Thibault
Justus Winter, le Fri 21 Mar 2014 13:57:51 +0100, a écrit : > I'm trying to find and fix a deadlock that could very well be in > libpager. When do you get it? What effect does it have: just deadlock a process, or the whole pager? We often see "strip" hang, such as in glibc builds, this is really

Re: libpager fixes

2014-03-21 Thread Justus Winter
Quoting Justus Winter (2014-03-21 13:57:51) > Hi ;) > > I'm trying to find and fix a deadlock that could very well be in > libpager. So I came up with this patch, analogous to > 901c61a1d25e7c8963e51012760a82730eda1910. I'm not yet sure I found > "my" deadlock, but not releasing this lock here c

libpager fixes

2014-03-21 Thread Justus Winter
Hi ;) I'm trying to find and fix a deadlock that could very well be in libpager. So I came up with this patch, analogous to 901c61a1d25e7c8963e51012760a82730eda1910. I'm not yet sure I found "my" deadlock, but not releasing this lock here could very well be problematic. I just want to mention t