Re: no way to swapoff a deleted swap file?

From: Bodo Eggert
Date: Fri Oct 17 2008 - 18:31:57 EST


On Fri, 17 Oct 2008, Hugh Dickins wrote:
> On Fri, 17 Oct 2008, Bodo Eggert wrote:

> > Somebody might want their swapfiles to have zero links,
> > _and_ the possibility of doing swapoff.
>
> You're right, they might, and it's not an unreasonable wish.
> But we've not supported it in the past, and I still don't
> think it's worth adding special kernel support for it now.

IMO it depends on the cost. Maybe it's cheap to keep an extra fd around,
maybe you'd have to add an extra infrastructure for this. And maybe it's not
important enough for anybody to create a patch and let us know ...
--
Funny quotes:
9. Despite the cost of living, have you noticed how popular it remains?
--
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/