Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933190AbYBHGkt (ORCPT ); Fri, 8 Feb 2008 01:40:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754214AbYBHGkj (ORCPT ); Fri, 8 Feb 2008 01:40:39 -0500 Received: from rv-out-0910.google.com ([209.85.198.186]:42712 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753803AbYBHGki (ORCPT ); Fri, 8 Feb 2008 01:40:38 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=HJgKg7VgvSEI/tqn+1/obMx5lf/85JYJchXWBdDaJS7E7OerPVw8PbtkE2JlmGdZVyWMNJ2OWr5Do1O/CW6+lPconuJYYcTUjPAOqGVJocVK84lGNBBiIScLcTxfsxuE6pOdAgHzJLmmDozgV4qwT3yAXjmH7YfeVnkzMN3SyRc= Message-ID: <84144f020802072240o20ae7420x2e404e731a629c24@mail.gmail.com> Date: Fri, 8 Feb 2008 08:40:35 +0200 From: "Pekka Enberg" To: "Christoph Lameter" Subject: Re: [PATCH 1/2] kmemcheck v3 Cc: "Vegard Nossum" , "Linux Kernel Mailing List" , "Ingo Molnar" , "Andi Kleen" , "Richard Knutsson" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47AB79D4.2070605@gmail.com> <19f34abd0802071412m569e4993kffb4a3af163fa16c@mail.gmail.com> <19f34abd0802071518j1ffc3dafp46fcbd8d36d36f17@mail.gmail.com> X-Google-Sender-Auth: daaf709e7f3484f7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 585 Lines: 12 On Feb 8, 2008 1:32 AM, Christoph Lameter wrote: > But the slab layer allocates pages < PAGE_SIZE. You need to take a fault > right? So each object would need its own page? No. We allocate a shadow page for each data page which we then use as a per-byte "bitmap." For every tracked _page_ we take the page fault always. -- 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/