From patchwork Wed May 22 15:09:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uladzislau Rezki X-Patchwork-Id: 10956105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C4DDC6C5 for ; Wed, 22 May 2019 15:09:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2B4328C08 for ; Wed, 22 May 2019 15:09:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A715428C0D; Wed, 22 May 2019 15:09:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3385A28C08 for ; Wed, 22 May 2019 15:09:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1CF3E6B0005; Wed, 22 May 2019 11:09:53 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 180F06B0006; Wed, 22 May 2019 11:09:53 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 06FBD6B0007; Wed, 22 May 2019 11:09:53 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by kanga.kvack.org (Postfix) with ESMTP id 900756B0005 for ; Wed, 22 May 2019 11:09:52 -0400 (EDT) Received: by mail-lj1-f200.google.com with SMTP id w18so457373ljw.8 for ; Wed, 22 May 2019 08:09:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id; bh=fnFIhfm6w+x6vlcZglDCubHYA2sqJDEBTXH+zDoT54E=; b=cGTV7bQqwG5x9oiYauaYTWncIqmQlZcM9EHf5YH/t2wXnPTLXIq0I0xSoI2XRGoAS/ z2XB61jNfHKBrTs2fUthH7eDi0PFS26webRU+qei+zbW9XHRhnRb3tc1ca/gL/ryb3Ku NpLCoN6DTc2GfEbtsY5zeSLnnlMxBjKBhrQpqVyXvp90HOvwxZhy4soEcyjbz1Uv06ul SSVlcztZvbhdAs3PT0btcqvCC1zUVZ+X84CWzX/nHCL+7wh3GVE2Bk7inX0QkdV9GZ0B 7sQozclzc2hIBuRkY1RDr8iiQhurWy0eWv7XnjInC/MptsfzA+nEB7f/aderJYx8Nxrj C35w== X-Gm-Message-State: APjAAAUdaEqeB1z9w9JgxoZfkeM8ASmdzr4ndiSfVQSkkPcWc75uFAA7 hU2wGd1kvhcyGT6oNbEt4iyNELOgzgSL8kBGuWT343erM1/kznp7Zbq5RLi3ROwIrTUnGxN7ntI bcI0iijBEKVRVzMxyUrpdnRMVYVaDA8HvEOOcIxeIgi714ooMgSDtvR/cYWOjY0YDSQ== X-Received: by 2002:a2e:9b0c:: with SMTP id u12mr15208028lji.189.1558537792015; Wed, 22 May 2019 08:09:52 -0700 (PDT) X-Received: by 2002:a2e:9b0c:: with SMTP id u12mr15207973lji.189.1558537790831; Wed, 22 May 2019 08:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558537790; cv=none; d=google.com; s=arc-20160816; b=D0j3G9N+SuWyixydrl6kfMQxQjR1hWP8kwgfb6BKmU++h8aI+4AJ05Uiv68eoteKmq Ic56XR25264W+7BsaSy88vHU3V/czz/PgjOKEn5cEwUE0fEEKRjTLng4HLttdZ6ojl+/ 5uh4oyfFBFn0uuZYDUFAALw2bECdQigfb53eNqK8BUYdikliiU/gdf2zZzx69MS7Ch1e CU8Bsba26jFADcNXN/locE7wTVcHCKfvjpKeQAxp2kKw/R/CtJfEVA5QFHBcsDcKzXt/ tEE0U4yyp3vRG36SS/ZlNDFZAhs27idvYsqsV2O50nrkzj1qCHTuJCq2Fo1SDlmFpjJc hrCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=fnFIhfm6w+x6vlcZglDCubHYA2sqJDEBTXH+zDoT54E=; b=RJl2BqcHugpY0FwAMdnEFFwUe1BTn5uOzp4LdnX52aM0VqaQZrOue1AIsl24zlkFxx i7HSQ2b0GFwwFoBqoRhQa20V6ZTB+ZcjG5H4cz80YUKQIWKe7HtEy9+FIKNQTDfVhGWR z4hOf3R5s3MU5M4hMOLI78KLMnPKBDtJ6/3E0cvdv5CHwv3l1/sLo2IeDCLwtQ01Sg8H ZHxT3D/4GGATUY1TLgxFhNOBfuMP+sYCOeiECHY1axUoNEyuUfAje1GbrNPz7viBoQqP NGO5r3ZdYcBIkqa6g4vHqZ2mLSffoTsdVKCoIS8LLwg+dPqyN40/bV8uJg0g8eqE24Oi o8LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uchLVR9y; spf=pass (google.com: domain of urezki@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=urezki@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id h4sor7152925lfp.2.2019.05.22.08.09.50 for (Google Transport Security); Wed, 22 May 2019 08:09:50 -0700 (PDT) Received-SPF: pass (google.com: domain of urezki@gmail.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uchLVR9y; spf=pass (google.com: domain of urezki@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=urezki@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=fnFIhfm6w+x6vlcZglDCubHYA2sqJDEBTXH+zDoT54E=; b=uchLVR9yDZbCoZFcLTDWBlnr+qGgHM4l53knuFUtS4cszF3qq07ggcXLTPp4f1w3EH j1IHk6vbdley5IzodGb/tQoWS8N0fMqt6Ua8kNPLmWewxcufW+1xVNb0e7fViD9CgcIp pJhh60QlEvljx7FQwox0+5OIj33+h7stGNT/5aqWO1weU6FRfCFZdHnUWEfTxAC5OMij t74E5/Or9Z4xug+txof7zAQd6NGIvQn4vfDdCBnBtueDJS3roYMhnTqSiVT58a1ZFUXz 1chdk61oyigEWPE2i+mrhDPq+UCbJ9K7zrek8mWwqK7o2ecTG/tzzZbzagqaoi1i97aJ BgJw== X-Google-Smtp-Source: APXvYqx5GGN3+wrZiJyukNG7wlTWckT2VbaD042N799w2UxWzlHPswK9PIYTsPn1Y77SbReZyTnRUQ== X-Received: by 2002:ac2:5bc1:: with SMTP id u1mr41492644lfn.111.1558537790380; Wed, 22 May 2019 08:09:50 -0700 (PDT) Received: from pc636.semobile.internal ([37.139.158.167]) by smtp.gmail.com with ESMTPSA id t22sm5303615lje.58.2019.05.22.08.09.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 May 2019 08:09:48 -0700 (PDT) From: "Uladzislau Rezki (Sony)" To: Andrew Morton Cc: Roman Gushchin , Uladzislau Rezki , Michal Hocko , Matthew Wilcox , linux-mm@kvack.org, LKML , Thomas Garnier , Oleksiy Avramchenko , Steven Rostedt , Joel Fernandes , Thomas Gleixner , Ingo Molnar , Tejun Heo Subject: [PATCH 1/4] mm/vmap: remove "node" argument Date: Wed, 22 May 2019 17:09:36 +0200 Message-Id: <20190522150939.24605-1-urezki@gmail.com> X-Mailer: git-send-email 2.11.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP Remove unused argument from the __alloc_vmap_area() function. Signed-off-by: Uladzislau Rezki (Sony) --- 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;