Re: [Xen-devel] xen/mem-reservation API and out-of-tree kernel modules

2019-02-01 Thread Oleksandr Andrushchenko
On 2/1/19 11:14 AM, Juergen Gross wrote: > On 01/02/2019 09:39, Oleksandr Andrushchenko wrote: >> On 1/31/19 11:44 PM, Stefano Stabellini wrote: >>> On Thu, 31 Jan 2019, Oleksandr Andrushchenko wrote: Hello, I am working on porting an out-of-tree kernel driver to the kernel 5.0

Re: [Xen-devel] xen/mem-reservation API and out-of-tree kernel modules

2019-02-01 Thread Juergen Gross
On 01/02/2019 09:39, Oleksandr Andrushchenko wrote: > On 1/31/19 11:44 PM, Stefano Stabellini wrote: >> On Thu, 31 Jan 2019, Oleksandr Andrushchenko wrote: >>> Hello, >>> >>> I am working on porting an out-of-tree kernel driver to the kernel >>> 5.0 and that driver uses functionality provided by >>

Re: [Xen-devel] xen/mem-reservation API and out-of-tree kernel modules

2019-02-01 Thread Christoph Hellwig
On Fri, Feb 01, 2019 at 08:38:43AM +, Oleksandr Andrushchenko wrote: > On 2/1/19 10:27 AM, Christoph Hellwig wrote: > > On Thu, Jan 31, 2019 at 01:44:15PM -0800, Stefano Stabellini wrote: > >> The alternative would be to turn xenmem_reservation_scrub_page into a > >> regular function (not a sta

Re: [Xen-devel] xen/mem-reservation API and out-of-tree kernel modules

2019-02-01 Thread Oleksandr Andrushchenko
On 1/31/19 11:44 PM, Stefano Stabellini wrote: > On Thu, 31 Jan 2019, Oleksandr Andrushchenko wrote: >> Hello, >> >> I am working on porting an out-of-tree kernel driver to the kernel >> 5.0 and that driver uses functionality provided by >> drivers/xen/mem-reservation.c >> module.  Since commit [1]

Re: [Xen-devel] xen/mem-reservation API and out-of-tree kernel modules

2019-02-01 Thread Oleksandr Andrushchenko
On 2/1/19 10:27 AM, Christoph Hellwig wrote: > On Thu, Jan 31, 2019 at 01:44:15PM -0800, Stefano Stabellini wrote: >> The alternative would be to turn xenmem_reservation_scrub_page into a >> regular function (not a static inline)? > All that is a moot point until said currently out of tree module g

Re: [Xen-devel] xen/mem-reservation API and out-of-tree kernel modules

2019-02-01 Thread Christoph Hellwig
On Thu, Jan 31, 2019 at 01:44:15PM -0800, Stefano Stabellini wrote: > The alternative would be to turn xenmem_reservation_scrub_page into a > regular function (not a static inline)? All that is a moot point until said currently out of tree module gets submitted for inclusion anyway.

Re: [Xen-devel] xen/mem-reservation API and out-of-tree kernel modules

2019-01-31 Thread Stefano Stabellini
On Thu, 31 Jan 2019, Oleksandr Andrushchenko wrote: > Hello, > > I am working on porting an out-of-tree kernel driver to the kernel > 5.0 and that driver uses functionality provided by > drivers/xen/mem-reservation.c > module.  Since commit [1] it is not possible to build a kernel module > which