[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen/pciback: Update data filter intersection logic.
On Mon, Jun 20, 2016 at 11:38 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote: Andrey
Yes, i guess due to not allowing duplicates. > To me it seems as a generally inconsistent behaviour and not specifically Here is printouts with applying the new logic [ 382.222213] xen-pciback: 0000:06:00.0: write request 4 bytes at 0xc = 4000 [ 382.222214] xen-pciback: 0000:06:00.0: read 1 bytes at 0xc [ 382.222228] xen-pciback: 0000:06:00.0: read 1 bytes at 0xc = 0 [ 382.222238] xen-pciback: 0000:06:00.0: read 1 bytes at 0xd [ 382.222281] xen-pciback: 0000:06:00.0: read 1 bytes at 0xd = 0 [ 382.222313] xen-pciback: 0000:06:00.0: read 1 bytes at 0xf [ 382.222341] xen-pciback: 0000:06:00.0: read 1 bytes at 0xf = 0 So from prints the logic is not equivalent. 0xd is included in this case. In original logic field 0xd is excluded because Not if ((req_start >= field_start && req_start < field_end) Nor (req_end > field_start && req_end <= field_end)) evaluate to true. Where request would be 4b segment starting with 0xc While f (req_end >= field_start && field_end >= req_start) will evaluate for true in this case. Unless I am missing something...
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |