lkml.org 
[lkml]   [2006]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] ipr: don't doublefree pages from scatterlist
    From
    From: Andi Kleen <ak@suse.de>
    Date: Mon, 6 Feb 2006 22:11:29 +0100

    > Don't touch the non DMA members in the sg list in dma_map_sg in the IOMMU
    >
    > Some drivers (in particular ipr) ran into problems because they
    > reused the sg lists after passing them to pci_map_sg(). The merging
    > procedure in the K8 GART IOMMU corrupted the state. This patch
    > changes it to only touch the dma* entries during merging,
    > but not the other fields. Approach suggested by Dave Miller.
    >
    > I did some basic tests with CONFIG_IOMMU_DEBUG (LTP, large dd)
    > and without and it hold up, but needs more testing.
    >
    > Signed-off-by: Andi Kleen <ak@suse.de>

    Thanks for doing this work Andi.
    -
    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/

    \
     
     \ /
      Last update: 2006-02-06 22:52    [W:0.022 / U:30.476 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site