[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080208121550.GG4745@one.firstfloor.org>
Date: Fri, 8 Feb 2008 13:15:50 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Pekka Enberg <penberg@...helsinki.fi>
Cc: Andi Kleen <andi@...stfloor.org>,
Vegard Nossum <vegard.nossum@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...e.hu>,
Richard Knutsson <ricknu-0@...dent.ltu.se>,
Christoph Lameter <clameter@....com>
Subject: Re: [PATCH 1/2] kmemcheck v3
On Fri, Feb 08, 2008 at 01:37:11PM +0200, Pekka Enberg wrote:
> Hi Andi,
>
> On Feb 8, 2008 1:55 PM, Andi Kleen <andi@...stfloor.org> wrote:
> > Also i'm not sure how you handle initializedness of DMAed data
> > (like network buffers). Wouldn't you need hooks into pci_dma_*
> > for this?
>
> If the DMA'd memory is allocated from the page allocator, we don't
RX Network packets are usually allocated with kmalloc
Undoubtedly there are others too, e.g. USB comes to mind.
> need to worry about it just yet. In case it's from kmalloc() you can
> pass __GFP_NOTRACK to annotate those call sites where the memory is
Ok you should add that then to skbuff.c.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists