[openib-general] Re: user_mad: large rmpp length problem

Michael S. Tsirkin mst at mellanox.co.il
Sun Nov 27 09:55:29 PST 2005


Quoting r. Hal Rosenstock <halr at voltaire.com>:
> Subject: Re: user_mad: large rmpp length problem
> 
> On Thu, 2005-11-24 at 03:03, Michael S. Tsirkin wrote:
> > Here's a very simple patch which, while not ideal, let us go up to
> 512KB.
> > 
> > ---
> > 
> > Allocate memory for large MAD buffers with __get_free_pages,
> > making it possible to get buffers up to 512KB in size.
> 
> Looks good to me. Applied. Thanks.
> 
> Should an error message be added in when an allocation fails ?
> 
> -- Hal
> 

Given that we pass an error up to userspace, probably not.

-- 
MST



More information about the general mailing list