[fedora-arm] [PATCH 1/3] rpm: always mlock the rpm database

Russell King rmk at arm.linux.org.uk
Thu Dec 11 08:59:40 UTC 2008


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:

1. which kernel version is this occuring with?

2. what device is the swap on?

3. 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.

-- 
Russell King




More information about the fedora-arm mailing list