[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1d992f7f-25df-7195-14f3-a13c2dccbc96@linux.ibm.com>
Date: Mon, 30 Dec 2019 09:38:19 +1100
From: Andrew Donnellan <ajd@...ux.ibm.com>
To: Julia Lawall <Julia.Lawall@...ia.fr>,
Frederic Barrat <fbarrat@...ux.ibm.com>
Cc: kernel-janitors@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/4] misc: cxl: use mmgrab
On 30/12/19 2:42 am, Julia Lawall wrote:
> Mmgrab was introduced in commit f1f1007644ff ("mm: add new mmgrab()
> helper") and most of the kernel was updated to use it. Update a
> remaining file.
>
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
>
> <smpl>
> @@ expression e; @@
> - atomic_inc(&e->mm_count);
> + mmgrab(e);
> </smpl>
>
> Signed-off-by: Julia Lawall <Julia.Lawall@...ia.fr>
Thanks!
Acked-by: Andrew Donnellan <ajd@...ux.ibm.com>
--
Andrew Donnellan OzLabs, ADL Canberra
ajd@...ux.ibm.com IBM Australia Limited
Powered by blists - more mailing lists