Re: [PATCH v2] xen: Convert kmap() to kmap_local_page()

2022-04-25 Thread Julia Lawall
On Mon, 25 Apr 2022, Ira Weiny wrote: > On Wed, Apr 20, 2022 at 04:07:36PM +0200, Fabio M. De Francesco wrote: > > On mercoledì 20 aprile 2022 15:57:14 CEST Julia Lawall wrote: > > > > > > On Wed, 20 Apr 2022, Fabio M. De Francesco wrote: > > > > > > > On mercoledì 20 aprile 2022 15:40:10 CEST

Re: [PATCH v2] xen: Convert kmap() to kmap_local_page()

2022-04-25 Thread Ira Weiny
On Wed, Apr 20, 2022 at 04:07:36PM +0200, Fabio M. De Francesco wrote: > On mercoledì 20 aprile 2022 15:57:14 CEST Julia Lawall wrote: > > > > On Wed, 20 Apr 2022, Fabio M. De Francesco wrote: > > > > > On mercoledì 20 aprile 2022 15:40:10 CEST Julia Lawall wrote: > > > > > > > > On Wed, 20 Apr

Re: [PATCH v2] xen: Convert kmap() to kmap_local_page()

2022-04-21 Thread Boris Ostrovsky
On 4/19/22 7:43 PM, Alaa Mohamed wrote: kmap() is being deprecated and these usages are all local to the thread so there is no reason kmap_local_page() can't be used. Replace kmap() calls with kmap_local_page(). Signed-off-by: Alaa Mohamed Applied to for-linus-5.18. (Juergen, I kept your

Re: [PATCH v2] xen: Convert kmap() to kmap_local_page()

2022-04-20 Thread Fabio M. De Francesco
On mercoledì 20 aprile 2022 15:57:14 CEST Julia Lawall wrote: > > On Wed, 20 Apr 2022, Fabio M. De Francesco wrote: > > > On mercoledì 20 aprile 2022 15:40:10 CEST Julia Lawall wrote: > > > > > > On Wed, 20 Apr 2022, Fabio M. De Francesco wrote: > > > > > > > On mercoledì 20 aprile 2022 08:03:05

Re: [PATCH v2] xen: Convert kmap() to kmap_local_page()

2022-04-20 Thread Julia Lawall
On Wed, 20 Apr 2022, Fabio M. De Francesco wrote: > On mercoledì 20 aprile 2022 15:40:10 CEST Julia Lawall wrote: > > > > On Wed, 20 Apr 2022, Fabio M. De Francesco wrote: > > > > > On mercoledì 20 aprile 2022 08:03:05 CEST Julia Lawall wrote: > > > > > > > > On Wed, 20 Apr 2022, Alaa Mohamed

Re: [PATCH v2] xen: Convert kmap() to kmap_local_page()

2022-04-20 Thread Fabio M. De Francesco
On mercoledì 20 aprile 2022 15:40:10 CEST Julia Lawall wrote: > > On Wed, 20 Apr 2022, Fabio M. De Francesco wrote: > > > On mercoledì 20 aprile 2022 08:03:05 CEST Julia Lawall wrote: > > > > > > On Wed, 20 Apr 2022, Alaa Mohamed wrote: > > > > > > > kmap() is being deprecated and these usages

Re: [PATCH v2] xen: Convert kmap() to kmap_local_page()

2022-04-20 Thread Julia Lawall
On Wed, 20 Apr 2022, Fabio M. De Francesco wrote: > On mercoledì 20 aprile 2022 08:03:05 CEST Julia Lawall wrote: > > > > On Wed, 20 Apr 2022, Alaa Mohamed wrote: > > > > > kmap() is being deprecated and these usages are all local to the thread > > > so there is no reason kmap_local_page()

Re: [PATCH v2] xen: Convert kmap() to kmap_local_page()

2022-04-20 Thread Julia Lawall
On Wed, 20 Apr 2022, Fabio M. De Francesco wrote: > On mercoledì 20 aprile 2022 08:03:05 CEST Julia Lawall wrote: > > > > On Wed, 20 Apr 2022, Alaa Mohamed wrote: > > > > > kmap() is being deprecated and these usages are all local to the thread > > > so there is no reason kmap_local_page()

Re: [PATCH v2] xen: Convert kmap() to kmap_local_page()

2022-04-20 Thread Fabio M. De Francesco
On mercoledì 20 aprile 2022 08:03:05 CEST Julia Lawall wrote: > > On Wed, 20 Apr 2022, Alaa Mohamed wrote: > > > kmap() is being deprecated and these usages are all local to the thread > > so there is no reason kmap_local_page() can't be used. > > > > Replace kmap() calls with kmap_local_page().

Re: [PATCH v2] xen: Convert kmap() to kmap_local_page()

2022-04-20 Thread Julia Lawall
On Wed, 20 Apr 2022, Alaa Mohamed wrote: > kmap() is being deprecated and these usages are all local to the thread > so there is no reason kmap_local_page() can't be used. > > Replace kmap() calls with kmap_local_page(). OK, so from a Coccinelle point of view, could we do @@ expression

[PATCH v2] xen: Convert kmap() to kmap_local_page()

2022-04-19 Thread Alaa Mohamed
kmap() is being deprecated and these usages are all local to the thread so there is no reason kmap_local_page() can't be used. Replace kmap() calls with kmap_local_page(). Signed-off-by: Alaa Mohamed --- changes in V2: -edit commit subject -edit commit message ---