Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 9 Feb 2002 10:31:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 9 Feb 2002 10:31:27 -0500 Received: from hirsch.in-berlin.de ([192.109.42.6]:9999 "EHLO hirsch.in-berlin.de") by vger.kernel.org with ESMTP id ; Sat, 9 Feb 2002 10:31:04 -0500 X-Envelope-From: kraxel@bytesex.org Date: Sat, 9 Feb 2002 15:14:15 +0100 From: Gerd Knorr To: Hugh Dickins Cc: Andrew Morton , Andrea Arcangeli , Rik van Riel , "David S. Miller" , Benjamin LaHaise , Marcelo Tosatti , linux-kernel@vger.kernel.org Subject: Re: [PATCH] __free_pages_ok oops Message-ID: <20020209151414.A18937@bytesex.org> In-Reply-To: <3C630D5D.CD66795@zip.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.20i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > and Gerd Knorr's report (extracts below) implies that his bttv driver > was calling unmap_kiobuf at interrupt time. Is that right, Gerd? Yes. > encourage him to unmap at interrupt time). Now maybe Gerd's code is > wrong anyway: a quick look suggests it may also vfree there, which > would be wrong at interrupt time. vfree() isn't allowed? I know vmalloc() isn't because it might sleep while waiting for the VM getting a few free pages. Why vfree isn't allowed? I can't see why freeing ressources is a problem ... Is somewhere a list of things which are allowed from irq context and which are not? Gerd -- #define ENOCLUE 125 /* userland programmer induced race condition */ - 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/