2020-07-01 12:19:02

by Jürgen Groß

[permalink] [raw]
Subject: [PATCH v2 0/2] xen/xenbus: some cleanups

Avoid allocating large amount of data on the stack in
xenbus_map_ring_valloc() and some related return value cleanups.

Juergen Gross (2):
xen/xenbus: avoid large structs and arrays on the stack
xen/xenbus: let xenbus_map_ring_valloc() return errno values only

drivers/xen/xenbus/xenbus_client.c | 167 ++++++++++++++---------------
1 file changed, 81 insertions(+), 86 deletions(-)

--
2.26.2


2020-07-03 10:24:13

by Boris Ostrovsky

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] xen/xenbus: some cleanups

On 7/1/20 8:16 AM, Juergen Gross wrote:
> Avoid allocating large amount of data on the stack in
> xenbus_map_ring_valloc() and some related return value cleanups.
>
> Juergen Gross (2):
> xen/xenbus: avoid large structs and arrays on the stack
> xen/xenbus: let xenbus_map_ring_valloc() return errno values only
>
> drivers/xen/xenbus/xenbus_client.c | 167 ++++++++++++++---------------
> 1 file changed, 81 insertions(+), 86 deletions(-)
>


Applied to for-linus-5.8b.


-boris