[Openib-windows] [PATCH] MT23108: Fix large buffer memoryregistration
Guy Corem
guyc at voltaire.com
Thu May 11 08:11:34 PDT 2006
I'm worried about the following line:
new_iobuf->va = va;
In register_segment().
Guy
-----Original Message-----
From: ftillier.sst at gmail.com [mailto:ftillier.sst at gmail.com] On Behalf
Of Fabian Tillier
Sent: Thursday, May 11, 2006 6:07 PM
To: Guy Corem
Cc: openib-windows at openib.org
Subject: Re: [Openib-windows] [PATCH] MT23108: Fix large buffer
memoryregistration
Hi Guy,
On 5/11/06, Guy Corem <guyc at voltaire.com> wrote:
>
> Thanks again.
>
> Question: I know that MDL wise there won't be a problem, since you're
> locking the same pages.
> But there won't be a problem somewhere else with the va displacement?
The seg_va, rdc, and seg_size are only used to pin the pages. The
input va and size are used in the iobuf structure, as well as being
used to calculate the expected number of pages in the MR. We don't
touch the original va and size, so everything should be fine.
- Fab
More information about the ofw
mailing list