Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262750AbUJ1EVt (ORCPT ); Thu, 28 Oct 2004 00:21:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262752AbUJ1EVt (ORCPT ); Thu, 28 Oct 2004 00:21:49 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:5527 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S262750AbUJ1EUv (ORCPT ); Thu, 28 Oct 2004 00:20:51 -0400 Message-ID: <41807395.5010709@pobox.com> Date: Thu, 28 Oct 2004 00:20:37 -0400 From: Jeff Garzik User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ncunningham@linuxmail.org CC: Linux Kernel Mailing List , Marcelo Tosatti , Bartlomiej Zolnierkiewicz , Douglas Gilbert , Jens Axboe , William Lee Irwin III Subject: Re: [PATCH 2.4] the perils of kunmap_atomic References: <417EDE4C.20003@pobox.com> <1098833780.7298.25.camel@desktop.cunninghams> In-Reply-To: <1098833780.7298.25.camel@desktop.cunninghams> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 569 Lines: 17 Nigel Cunningham wrote: > DEBUG_HIGHMEM under 2.4). It would be good if any patch produced a > warning if you call kunmap_atomic with the wrong kind of parameter. Well, the compiler has a rather difficult time with that, since any kernel address is going to be void*, which C will nicely cast struct page* into. Jeff - 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/