Re: [Xen-devel] [PATCH v2 3/9] xen/balloon: Share common memory reservation routines

2018-06-06 Thread Boris Ostrovsky
On 06/06/2018 03:24 AM, Oleksandr Andrushchenko wrote: > On 06/04/2018 07:37 PM, Boris Ostrovsky wrote: >> On 06/01/2018 07:41 AM, Oleksandr Andrushchenko wrote: >>> diff --git a/include/xen/mem-reservation.h >>> b/include/xen/mem-reservation.h >>> new file mode 100644 >>> index

Re: [Xen-devel] [PATCH v2 3/9] xen/balloon: Share common memory reservation routines

2018-06-06 Thread Oleksandr Andrushchenko
On 06/04/2018 07:37 PM, Boris Ostrovsky wrote: On 06/01/2018 07:41 AM, Oleksandr Andrushchenko wrote: diff --git a/include/xen/mem-reservation.h b/include/xen/mem-reservation.h new file mode 100644 index ..a727d65a1e61 --- /dev/null +++ b/include/xen/mem-reservation.h @@ -0,0 +1,65

Re: [Xen-devel] [PATCH v2 3/9] xen/balloon: Share common memory reservation routines

2018-06-04 Thread Boris Ostrovsky
On 06/01/2018 07:41 AM, Oleksandr Andrushchenko wrote: > diff --git a/include/xen/mem-reservation.h b/include/xen/mem-reservation.h > new file mode 100644 > index ..a727d65a1e61 > --- /dev/null > +++ b/include/xen/mem-reservation.h > @@ -0,0 +1,65 @@ > +/* SPDX-License-Identifier:

Re: [Xen-devel] [PATCH v2 3/9] xen/balloon: Share common memory reservation routines

2018-06-04 Thread Oleksandr Andrushchenko
On 06/04/2018 07:37 PM, Boris Ostrovsky wrote: On 06/01/2018 07:41 AM, Oleksandr Andrushchenko wrote: diff --git a/include/xen/mem-reservation.h b/include/xen/mem-reservation.h new file mode 100644 index ..a727d65a1e61 --- /dev/null +++ b/include/xen/mem-reservation.h @@ -0,0 +1,65

[Xen-devel] [PATCH v2 3/9] xen/balloon: Share common memory reservation routines

2018-06-01 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Memory {increase|decrease}_reservation and VA mappings update/reset code used in balloon driver can be made common, so other drivers can also re-use the same functionality without open-coding. Create a dedicated file for the shared code and export corresponding