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

Martin Dalecki
2002-06-10T12:55:45Z

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.