Re: [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

Michael S. Tsirkin
2013-04-09T21:36:11Z

On Tue, Apr 09, 2013 at 11:34:09PM +0300, Michael S. Tsirkin wrote:
> On Fri, Apr 05, 2013 at 04:17:36PM -0400, Michael R. Hines wrote:
> > The userland part of the patch was missing (IBV_ACCESS_GIFT).
> >
> > I added flag that to /usr/include in addition to this patch and did
> > a test RDMA migrate and it seems to work without any problems.
> >
> > I also removed the IBV_*_WRITE flags on the sender-side and
> > activated cgroups with the "memory.memsw.limit_in_bytes" activated
> > and the migration with RDMA also succeeded without any problems
> > (both with *and* without GIFT also worked).
> >
> > Any additional tests you would like?
> >
> >
> > - Michael
>
> RDMA can't really work with swap so not sure how that's relevant.
>
> Please check memory.usage_in_bytes - is it lower with
> the GIFT flag? I think this is what we really care about.

oh and no reason to set memsw.limit_in_bytes I think.

> --
> MST