Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 9 Jul 2001 15:47:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 9 Jul 2001 15:47:06 -0400 Received: from smtpde02.sap-ag.de ([194.39.131.53]:16113 "EHLO smtpde02.sap-ag.de") by vger.kernel.org with ESMTP id ; Mon, 9 Jul 2001 15:46:46 -0400 From: Christoph Rohland To: Linus Torvalds Cc: Mike Galbraith , Rik van Riel , Jeff Garzik , Daniel Phillips , linux-kernel Subject: Re: VM in 2.4.7-pre hurts... In-Reply-To: Organisation: SAP LinuxLab Date: 09 Jul 2001 21:44:44 +0200 In-Reply-To: Message-ID: Lines: 19 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SAP: out X-SAP: out X-SAP: out X-SAP: out X-SAP: out X-SAP: out Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, On Mon, 9 Jul 2001, Linus Torvalds wrote: > Does it help if you just remove the > > if (atomic_read(&page->count) > 2) > goto out; > > from shmem_writepage()? > > It _shouldn't_ matter (because writepage() should only be called > with inactive pages anyway), but your problem certainly sounds like > your inactive dirty list is not able to write out shmfs pages. No, it does matter. It prevents races against getpage. Greetings Christoph - 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/