Re: [Xen-devel] [PATCH v5] dmar: device scope mem leak fix

2015-07-07 Thread Elena Ufimtseva
On Tue, Jul 07, 2015 at 10:54:25AM +0100, Jan Beulich wrote: > >>> On 01.07.15 at 20:30, wrote: > > Release memory allocated for scope.devices when disabling > > dmar units. Also set device count after memory allocation when > > device scope parsing. > > This is explanation of why the code should

Re: [Xen-devel] [PATCH v5] dmar: device scope mem leak fix

2015-07-07 Thread Jan Beulich
>>> On 01.07.15 at 20:30, wrote: > Release memory allocated for scope.devices when disabling > dmar units. Also set device count after memory allocation when > device scope parsing. > This is explanation of why the code should be moved imho and > answers Jan question about why I needed to do this.

[Xen-devel] [PATCH v5] dmar: device scope mem leak fix

2015-07-01 Thread elena . ufimtseva
From: Elena Ufimtseva Release memory allocated for scope.devices when disabling dmar units. Also set device count after memory allocation when device scope parsing. This is explanation of why the code should be moved imho and answers Jan question about why I needed to do this. In acpi_parse_one_d