Re: [PATCH -mm 15/25] Ramfs and Ram Disk pages are non-reclaimable

From: Greg KH
Date: Sun Jun 08 2008 - 00:37:38 EST


On Fri, Jun 06, 2008 at 06:05:10PM -0700, Andrew Morton wrote:
>
> Also, I expect there are a whole host of pseudo-filesystems (sysfs?)
> which have this problem. Does the patch address all of them? If not,
> can we come up with something which _does_ address them all without
> having to hunt down and change every such fs?

sysfs used to have this issue, until the people at IBM rewrote the whole
backing store for sysfs so that now it is reclaimable and pages out
quite nicely when there is memory pressure. That's how they run 20,000
disks on the s390 boxes with no memory :)

But it would be nice to solve the issue "generically" for ram based
filesystems, if possible (usbfs, securityfs, debugfs, etc.)

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/