> I didn't look at the chages but i will say this one
> more time. Limiting tmpfs size at fixed amount of
> space will make the bug harder to reproduce but won't
> fix it. The right hack is to limit tmpfs to be with
> freepages.high less than available memory(swap+ram).
> It won't be hard to code.
The problem with this is that tmpfs may be mounted before
swap is initialized, so a little less than
swap+ram will become "a little less than just RAM" anyway.
Or do you propose a dynamic limit, changing as swap
is added/removed? This has problems if some swap is
removed, and suddenly tmpfs usage exceeds its quota.
Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/