Re: [PATCH v3] windows/virt2phys: fix block MDL not updated

2023-11-29 Thread Dmitry Kozlyuk
2023-09-12 19:17 (UTC+0800), Ric Li: > +virt2phys_is_valid_block(struct virt2phys_block *block, PVOID base) Nit: "virt" would be more consistent with the rest of the code than "base". Reviewed-by: Dmitry Kozlyuk

RE: [PATCH v3] windows/virt2phys: fix block MDL not updated

2023-11-26 Thread Li, Ming3
Hello, Any update on the patch review? Best regards, Ming > -Original Message- > From: Li, Ming3 > Sent: Tuesday, September 12, 2023 7:18 PM > To: Li, Ming3 > Cc: dev@dpdk.org; dmitry.kozl...@gmail.com; roret...@linux.microsoft.com > Subject: [PATCH v3] windows/vi

[PATCH v3] windows/virt2phys: fix block MDL not updated

2023-09-12 Thread Ric Li
The virt2phys_translate function previously scanned existing blocks, returning the physical address from the stored MDL info if present. This method was problematic when a virtual address pointed to a freed and reallocated memory segment, potentially changing the physical address mapping. Yet, virt