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

Mauricio Vásquez mauricio.vasquezbernal at studenti.polito.it
Wed Mar 30 10:21:59 CEST 2016


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