From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <48F886B9.8030403@davidnewall.com> Date: Fri, 17 Oct 2008 23:06:09 +1030 From: David Newall MIME-Version: 1.0 Subject: Re: no way to swapoff a deleted swap file? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Hugh Dickins Cc: Bodo Eggert <7eggert@gmx.de>, Peter Zijlstra , Peter Cordes , linux-kernel@vger.kernel.org, Christoph Hellwig , linux-mm List-ID: 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. But it is supported now. It's swapoff that's not supported, and I don't think that matters. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org