Re: [PATCH] 2.5.21 "I can't get no compilation"

From: Martin Dalecki (dalecki@evision-ventures.com)
Date: Mon Jun 10 2002 - 06:54:56 EST


Anton Altaparmakov wrote:
> At 12:19 10/06/02, Martin Dalecki wrote:
>
>> The subject says it all...
>>
>> Contrary to other proposed patches I realized that there is
>> no such thing as vmalloc_dma.
>
>
> Perhaps you ought to look in mm/vmalloc.c which contains:
>
> void * vmalloc_dma (unsigned long size)
> {
> return __vmalloc(size, GFP_KERNEL|GFP_DMA, PAGE_KERNEL);
> }
>
> Or are you going to tell me that is a figment of my imagination?
>

Oh I have missed the chunk which delets it there apparently, since
*nobody* is using this. The only place where a special
__vmalloc setup code is used in nfs which GFP_NOFS flag added,
but not the above. so providing vmalloc_nofs would make more
sense then vmalloc_dma.

-
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/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:17 EST