[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190528223309.GF27847@tower.DHCP.thefacebook.com>
Date: Tue, 28 May 2019 22:33:14 +0000
From: Roman Gushchin <guro@...com>
To: "Uladzislau Rezki (Sony)" <urezki@...il.com>
CC: Andrew Morton <akpm@...ux-foundation.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
Hillf Danton <hdanton@...a.com>,
Michal Hocko <mhocko@...e.com>,
Matthew Wilcox <willy@...radead.org>,
LKML <linux-kernel@...r.kernel.org>,
Thomas Garnier <thgarnie@...gle.com>,
"Oleksiy Avramchenko" <oleksiy.avramchenko@...ymobile.com>,
Steven Rostedt <rostedt@...dmis.org>,
Joel Fernandes <joelaf@...gle.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...e.hu>, Tejun Heo <tj@...nel.org>
Subject: Re: [PATCH v3 1/4] mm/vmap: remove "node" argument
On Mon, May 27, 2019 at 11:38:39AM +0200, Uladzislau Rezki (Sony) wrote:
> Remove unused argument from the __alloc_vmap_area() function.
>
> Signed-off-by: Uladzislau Rezki (Sony) <urezki@...il.com>
> ---
> mm/vmalloc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/mm/vmalloc.c b/mm/vmalloc.c
> index c42872ed82ac..ea1b65fac599 100644
> --- a/mm/vmalloc.c
> +++ b/mm/vmalloc.c
> @@ -985,7 +985,7 @@ adjust_va_to_fit_type(struct vmap_area *va,
> */
> static __always_inline unsigned long
> __alloc_vmap_area(unsigned long size, unsigned long align,
> - unsigned long vstart, unsigned long vend, int node)
> + unsigned long vstart, unsigned long vend)
> {
> unsigned long nva_start_addr;
> struct vmap_area *va;
> @@ -1062,7 +1062,7 @@ static struct vmap_area *alloc_vmap_area(unsigned long size,
> * If an allocation fails, the "vend" address is
> * returned. Therefore trigger the overflow path.
> */
> - addr = __alloc_vmap_area(size, align, vstart, vend, node);
> + addr = __alloc_vmap_area(size, align, vstart, vend);
> if (unlikely(addr == vend))
> goto overflow;
>
> --
> 2.11.0
>
Reviewed-by: Roman Gushchin <guro@...com>
Powered by blists - more mailing lists