RE: [PATCH 3/3] Xen physical cpus interface

From: Liu, Jinsong
Date: Thu May 10 2012 - 11:20:54 EST


Just notice your reply (so quick :)

Agree and will update later, except 1 concern below.

Konrad Rzeszutek Wilk wrote:
>>
>> Hmm, it's good if it's convenient to do it automatically via
>> dev->release.
>> However, dev container (pcpu) would be free at some other error
>> cases, so I prefer do it 'manually'.
>
> You could also call pcpu_release(..) to do it manually.
>

that means kfree(pcpu) would be done twice at some error cases, do you think it really good?

Thanks,
Jinsong--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/