Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 28 Jul 2002 23:51:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 28 Jul 2002 23:51:04 -0400 Received: from pizda.ninka.net ([216.101.162.242]:14563 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id ; Sun, 28 Jul 2002 23:51:04 -0400 Date: Sun, 28 Jul 2002 20:43:02 -0700 (PDT) Message-Id: <20020728.204302.44950225.davem@redhat.com> To: torvalds@transmeta.com Cc: akpm@zip.com.au, linux-kernel@vger.kernel.org Subject: Re: [patch 2/13] remove pages from the LRU in __free_pages_ok() From: "David S. Miller" In-Reply-To: References: <20020728.195055.105468330.davem@redhat.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 879 Lines: 22 From: Linus Torvalds Date: Sun, 28 Jul 2002 20:51:13 -0700 (PDT) On Sun, 28 Jul 2002, David S. Miller wrote: > They must never run from HW irqs, in fact there is a BUG() > check there against this. From a page cache standpoint softirq's are 100% equivalent to hardware irq's, so that doesn't much help here. Wait are we trying to make the final freeing of (potentially) LRU/page-cache pages from any non-base context illegal? If that really becomes an issue we can do something which moves this back to user context when the result of doing it in irq context would be problematic. - 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/