On 4/20/2018 4:16 PM, Burakov, Anatoly wrote:
On 19-Apr-18 5:50 PM, Jianfeng Tan wrote:
Adjust the init sequence: put mp channel init before bus scan
so that we can init the vdev bus through mp channel in the
secondary process before the bus scan.

Signed-off-by: Jianfeng Tan <jianfeng....@intel.com>
Reviewed-by: Qi Zhang <qi.z.zh...@intel.com>
---

Hi Jianfeng,

Just a general question. I can't recall if we've discussed this internally,

I don't think we once discussed this.

but does this new IPC-based vdev bus scan trigger any memory allocations?

No, we don't.

So far bus scans were well-behaved and didn't do that.


I think it's due to that even in the master branch implementation, bus scan is ahead of memory init. So we don't use any rte_malloc in bus scan.

Thanks,
Jianfeng

Reply via email to