Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754479AbXFVFb5 (ORCPT ); Fri, 22 Jun 2007 01:31:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751111AbXFVFbt (ORCPT ); Fri, 22 Jun 2007 01:31:49 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:41453 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750881AbXFVFbt (ORCPT ); Fri, 22 Jun 2007 01:31:49 -0400 Date: Thu, 21 Jun 2007 22:31:46 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Hugh Dickins cc: Nicolas Ferre , ARM Linux Mailing List , Linux Kernel list , Marc Pignat , Andrew Victor , Pierre Ossman , Andrew Morton , Linus Torvalds , Russell King , Matthew Wilcox Subject: Re: Oops in a driver while using SLUB as a SLAB allocator In-Reply-To: Message-ID: References: <467A4532.40301@rfo.atmel.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1050 Lines: 21 On Fri, 22 Jun 2007, Hugh Dickins wrote: > But PA-RISC also has a function called flush_dcache_page, which uses > page_mapping and expects a struct address_space * from it. If that > can ever be get applied to a SLOB page (which is not so clear as in > the ARM case, but cannot easily be ruled out completely), we're > in trouble without a PageSlab test within page_mapping. A page comes from the page allocator. Access to a slab allocators "page" is an access to subsystem internals. Those internals vary (including the representation of objects in the "page") and depend on the slab allocator selected, the debug options in effect and parameters with which the slab was created etc etc. If flush_dcache_page is applied to a slab object then we need to do a similar change to PA-RISC as for ARM. - 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/