Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756242AbYJQWby (ORCPT ); Fri, 17 Oct 2008 18:31:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753223AbYJQWbq (ORCPT ); Fri, 17 Oct 2008 18:31:46 -0400 Received: from mail-in-07.arcor-online.net ([151.189.21.47]:41001 "EHLO mail-in-07.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752148AbYJQWbp (ORCPT ); Fri, 17 Oct 2008 18:31:45 -0400 Date: Sat, 18 Oct 2008 00:42:41 +0200 (CEST) From: Bodo Eggert <7eggert@gmx.de> To: Hugh Dickins cc: Bodo Eggert <7eggert@gmx.de>, David Newall , Peter Zijlstra , Peter Cordes , linux-kernel@vger.kernel.org, Christoph Hellwig , linux-mm Subject: Re: no way to swapoff a deleted swap file? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii X-be10.7eggert.dyndns.org-MailScanner-Information: See www.mailscanner.info for information X-be10.7eggert.dyndns.org-MailScanner: Found to be clean X-be10.7eggert.dyndns.org-MailScanner-From: 7eggert@gmx.de Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 930 Lines: 21 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/