lkml.org 
[lkml]   [2006]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [patch 5/13] s390: qdio memory allocations.
    From
    Date
    On 25.04.2006 01:52 Andrew Morton <akpm@osdl.org> wrote:
    > Martin Schwidefsky <schwidefsky@de.ibm.com> wrote:
    > >
    > > - ssqd_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA);
    > > + ssqd_area = mempool_alloc(qdio_mempool_scssc, GFP_ATOMIC);

    > I assume the loss of GFP_DMA was intentional?

    Yes, and it is done in the alloc routine of the mempool:

    static void *qdio_mempool_alloc(gfp_t gfp_mask, void *size)
    {
    return (void *) get_zeroed_page(gfp_mask|GFP_DMA);
    }


    Regards,

    Andreas

    -
    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-04-25 02:01    [W:0.018 / U:35.668 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site