[dpdk-dev] Question about cd10c42eb5bc ("mem: fix ivshmem freeing")

Burakov, Anatoly anatoly.burakov at intel.com
Wed Mar 30 10:29:49 CEST 2016


Hi Mauricio,

You’re not missing anything. It would be done this way, if the memzone parameter wasn’t const. But it is const, so we have to find the memzone in config to edit it.

Thanks,
Anatoly

From: Mauricio Vásquez [mailto:mauricio.vasquezbernal at studenti.polito.it]
Sent: Wednesday, March 30, 2016 9:22 AM
To: dev at dpdk.org
Cc: Gonzalez Monroy, Sergio <sergio.gonzalez.monroy at intel.com>; Richardson, Bruce <bruce.richardson at intel.com>; Burakov, Anatoly <anatoly.burakov at intel.com>
Subject: Question about cd10c42eb5bc ("mem: fix ivshmem freeing")

Dear All,
I was looking at that patch, I can understand its functionality but not its implementation..
Why to calculate idx?, Just doing "mz->ioremap_addr = mz->phys_addr" would not be sufficient? After all, the goal is to mark the memzone as used by ivshmem to forbid  freeing it.
Please corrected if I am missing something.
Thank you,
Mauricio Vasquez,


More information about the dev mailing list