On Thu, 2008-12-11 at 08:59 +0000, Russell King wrote:
On Thu, Dec 11, 2008 at 08:53:27AM +0000, David Woodhouse wrote:
On Thu, 2008-12-11 at 12:37 +0530, Kedar Sovani wrote:
Hacky patch that mlock()s rpmdb's environment mmap(2)s, in order to attempt to avoid spurious rpmdb corruption issues on Linux that seem to be somehow related to pagein/pageout occuring.
Ick.
No.
The relevent questions are:
which kernel version is this occuring with?
what device is the swap on?
which drivers are being used?
If there's problems with paging causing corruption in userspace, it is a *serious* issue which can't be fixed by throwing hacks at userspace programs.
Hang on.. I recollect seeing this problem with rpm 4.4. Let me see if it is present in rpm 4.6 as well, or did this patch just creep in.
I'll dig further...
Kedar.