[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Page cache issues

From: Richard Braun
Subject: Page cache issues
Date: Tue, 3 Jul 2012 14:18:20 +0200
User-agent: Mutt/1.5.20 (2009-06-14)


I'm currently working on the VM cache as implemented by GNU Mach, and
more specifically on the maximum cached objects limit, the goal being
to remove it and let memory pressure be the only flush trigger.

But when removing the limit, I experience far more ext2fs stability
issues than usual. After digging a bit into the problem, I've traced it
to pager_sync (called from diskfs_sync_everything). There doesn't seem
to be any obvious locking issue there, and the completion function looks
right too. What happens between these two functions ?

In addition, this problem may be related to the libpager deadlock issue
reported some years ago [1] [2], although it happens with both the
Debian hurd package and the upstream Hurd code. I regularly get
segmentation faults, but also deadlocks or infinite loops (which makes
me think of stack corruptions). If someone with more experience with
this part of the Hurd would take a look, it would be appreciated.

Richard Braun

[1] http://lists.gnu.org/archive/html/bug-hurd/2010-03/msg00127.html
[2] http://lists.gnu.org/archive/html/bug-hurd/2010-04/msg00012.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]