tech-kern archive

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

Re: unconfiguring swap at shutdown



In article <20080903134702.GA4485%asim.lip6.fr@localhost>,
Manuel Bouyer  <bouyer%antioche.eu.org@localhost> wrote:
>On Tue, Sep 02, 2008 at 07:45:43PM -0700, Jason Thorpe wrote:
>> Tmpfs?  Do this after file systems have been unmounted?
>
>No, but the proposed in-kernel swapoff code needs access to /dev, which
>may be on a tmpfs. So you can't unmount it before swapoff.

Why is that? It does not do a a lookup but accesses the vnode directly
from the swap struct.

christos



Home | Main Index | Thread Index | Old Index