[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [win-pv-devel] [PATCH] Use NonPagedPool for Active device properties
> -----Original Message----- > From: win-pv-devel [mailto:win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On > Behalf Of Owen Smith > Sent: 12 June 2019 16:53 > To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx > Cc: Owen Smith <owen.smith@xxxxxxxxxx> > Subject: [win-pv-devel] [PATCH] Use NonPagedPool for Active device properties > > ActiveDeviceId and ActiveInstanceId can be used at DISPATCH_LEVEL, and > therefore cannot use PagedPool. When these values are returned via IRPs, > the value is copied into a PagedPool buffer for the IRP to use. > > Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx> Acked-by: Paul Durrant <paul.durrant@xxxxxxxxxx> > --- > src/xenfilt/driver.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/xenfilt/driver.c b/src/xenfilt/driver.c > index ca53ad6..1b9ca98 100644 > --- a/src/xenfilt/driver.c > +++ b/src/xenfilt/driver.c > @@ -257,7 +257,7 @@ __DriverGetActive( > goto fail1; > > Length = Ansi[0].Length + sizeof (CHAR); > - *Value = __AllocatePoolWithTag(PagedPool, Length, 'TLIF'); > + *Value = __AllocatePoolWithTag(NonPagedPool, Length, 'TLIF'); > > status = STATUS_NO_MEMORY; > if (*Value == NULL) > -- > 2.16.2.windows.1 > > > _______________________________________________ > win-pv-devel mailing list > win-pv-devel@xxxxxxxxxxxxxxxxxxxx > https://lists.xenproject.org/mailman/listinfo/win-pv-devel _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |