Re: [patch 5/13] s390: qdio memory allocations.

From: Andreas Herrmann
Date: Mon Apr 24 2006 - 19:58:23 EST


On 25.04.2006 01:52 Andrew Morton <akpm@xxxxxxxx> wrote:
> Martin Schwidefsky <schwidefsky@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/