[openib-general] [PATCH] mthca: save low memory used for reserved objects
Michael S. Tsirkin
mst at mellanox.co.il
Thu Dec 14 08:03:05 PST 2006
> > We never need to allocate memory for reserved objects in low memory.
>
> True, but...
>
> > table->icm[i] = mthca_alloc_icm(dev, chunk_size >> PAGE_SHIFT,
> > - (use_lowmem ? GFP_KERNEL : GFP_HIGHUSER) |
> > - __GFP_NOWARN);
> > + GFP_HIGHUSER | __GFP_NOWARN);
>
> ...it's quite not so simple, is it? the chunk being allocated here
> might not contain exclusively reserved objects -- it might have some
> real objects too.
Correct. Missed this.
--
MST
More information about the general
mailing list