From patchwork Sat Dec 17 00:15:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Stoakes X-Patchwork-Id: 13075665 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20219C4332F for ; Sat, 17 Dec 2022 00:16:24 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AC6E08E0002; Fri, 16 Dec 2022 19:16:23 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A4F798E0001; Fri, 16 Dec 2022 19:16:23 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8C99D8E0002; Fri, 16 Dec 2022 19:16:23 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 79BB68E0001 for ; Fri, 16 Dec 2022 19:16:23 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 50CCBA12BC for ; Sat, 17 Dec 2022 00:16:23 +0000 (UTC) X-FDA: 80249881446.16.DEBCDEC Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by imf14.hostedemail.com (Postfix) with ESMTP id AFAB4100007 for ; Sat, 17 Dec 2022 00:16:21 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Wd10C8F5; spf=pass (imf14.hostedemail.com: domain of lstoakes@gmail.com designates 209.85.128.44 as permitted sender) smtp.mailfrom=lstoakes@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1671236181; a=rsa-sha256; cv=none; b=S1s1i5QXbcJcOA8Bfkt6+qrv1+B1ao7EVJoEuxnw8G0WTBIY1pADmE55tt2P/X0fsXhiHq Lg5XWSQCnfPSppJPh+ydU5t5wAURJf2JCu8kMnMGnKbKHk3l97aktWRbjtZn8c2xM9vc2n GwyCbYtWIJV1/vyGV3bNcHkmVniqOQA= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Wd10C8F5; spf=pass (imf14.hostedemail.com: domain of lstoakes@gmail.com designates 209.85.128.44 as permitted sender) smtp.mailfrom=lstoakes@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1671236181; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=5hOSZ9XvCZ0lVh7H3bPZKfFn1zZw42pxRgq17+nafB0=; b=YGcRFKDhnXkcwdLhmRIt9IJUN+tnS3NAJcEUcLWv4kRHBIlZ/J1Xd9OfinTc7vy3Pr0DqS DwDF17TF6L3hAt2Ts/WB+0XaslofeE+quEFr5ucAfydEgk1dkH6lZuN2fgvRHOAi2yyv4W aQp0x5jrUfbBsTlOLJkQ0gC918fJhXI= Received: by mail-wm1-f44.google.com with SMTP id b24-20020a05600c4a9800b003d21efdd61dso2849308wmp.3 for ; Fri, 16 Dec 2022 16:16:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=5hOSZ9XvCZ0lVh7H3bPZKfFn1zZw42pxRgq17+nafB0=; b=Wd10C8F53VhKbkG4Y7lnFbK5RrR4ZEDvp1wRJElm/qesZY565MvnlIQ/egFl21fmCo K2yy/r6aSfJy4AXMIy6MTE93LoxqGYLOKcKoPvyxtBzJMLFfxpaZc2drzNAA7IRYOmRn HvPnSy7KLIzzqi4kKTnkKZONJyV0OWJx39ulMmacF/UP2rwnRXeAiaEqookxIS0iaPdr qNN3g6aYuk2yU2M0zOPc9GL5fEO7hg3nuw7O3nJuIz7Igxug5U6x2USBogjW52Qu+09y HNPC/ZQCQ25vG1CCr5BeQ5eTwzd8ICslP/bHCIWxMejH77/wZ/EULa5MRrL84t1FumVf LEHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5hOSZ9XvCZ0lVh7H3bPZKfFn1zZw42pxRgq17+nafB0=; b=H7VLYHRGSvpLWh50S/u/pV9bnSfbgR7NI5xbwJwZmIPfN9PENVH4cUll+8I55mCoqT qMuDVDjCQdCnm14VfCv28y2RHGhUr65uzMWkc0J5aVuFaYCx6pdzFRTW+i1KGKo4aqeo JXaEUpAvr2PaqNbnZLzdK3iAqInNcyBfPnZWtIjPq7z9MThz6J0nV/SYx/AvdHLLJ1S6 nRs5INGHjiZCarIS9BkUfaCcRstSPBxFxhEsDJfFo9MqGJMpPHyrJh60c1+MTDgoGoZJ HH4TFVmFyR4FSjn8ww0iCSX7ac5m/9vvzemAaIOQn8o/CGkpt1lbE9pRvkiNlo/WmWOc /tVQ== X-Gm-Message-State: ANoB5pnBqVnMhctAEr/VFIgszVLS/9zD2PdlXOotIGr00NOhjz2kr/sj RApxxcJHL5EHP55fmYPAZiMpYMMQ13o= X-Google-Smtp-Source: AA0mqf4kILSJrFTdGHsPiCzjToEYxg/rLjBvuo4fPqokYKY9NrLy0YSCAxLGRc6cZkLuKtpU8pgD4w== X-Received: by 2002:a05:600c:a11:b0:3d2:2a74:3a90 with SMTP id z17-20020a05600c0a1100b003d22a743a90mr16109466wmp.22.1671236179867; Fri, 16 Dec 2022 16:16:19 -0800 (PST) Received: from lucifer.home ([2a00:23c5:dc8c:8701:1663:9a35:5a7b:1d76]) by smtp.googlemail.com with ESMTPSA id o3-20020a05600c510300b003cfa3a12660sm20866497wms.1.2022.12.16.16.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 16:16:19 -0800 (PST) From: Lorenzo Stoakes To: linux-mm@kvack.org, Andrew Morton , linux-kernel@vger.kernel.org Cc: Matthew Wilcox , Andrey Konovalov , Ingo Molnar , Marco Elver , Michal Hocko , Lorenzo Stoakes Subject: [PATCH] mm: remove unused alloc_pages_bulk_list() Date: Sat, 17 Dec 2022 00:15:54 +0000 Message-Id: <20221217001554.554913-1-lstoakes@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Queue-Id: AFAB4100007 X-Rspamd-Server: rspam01 X-Stat-Signature: rozeaekucmi943uonh7ud4nfsaxca5dh X-HE-Tag: 1671236181-860776 X-HE-Meta: U2FsdGVkX1+DBqaGpya9LpeK82DbYgDFha+UKWxZlxLITBSn8OR0FUtXUchEQbU4LEoCrTcbdPDUi8owgYoTEvJBIK1GCzkdE+NYPg2NDJ++NEnJ4YUtFtzng+xJZkQBH1kJTJwRZfCqZCvq87DGP/+JqDdaB69RqyOSeiCMMrxx4gOs3r4tMgQw973syNdH2LZi30w7nAs50zgR3bnh+Le7wCQ4NpAuE2tSk8lntE6S1LueOq1z0V1mbJsh39Hv2OLbmEOePcNEZdIX6SBthh7kVsLNsUREybPlyqEL74DmYdSaKVYQEn1ydNt5bakyMU3SGA7qt1+EAQdvddk4rwZqxMkpp9lSnYQ4yWt3DMmdaDfaNirI9o6VmoOztc9L8LCR8BvTS5YuH6LMdA3Aa8D6ywI8iPn55vtNxFChGxweNtryyPVOPbIz+O22votQF9VzpXvTahsHMd9ONILJVCPyNMFVn81ulO960WusLfFPpnxCqIb4oPzd80HxFZSMTFPCHsBIJECIwt9/A5IHXVx/eoZAyZqFBoZDq2TwHATF5C4kx2D0OmGkyUd3sfhyS/z6E80yLrx+608NMasa1F7j5TWUdJoy8z+MXMeFs5WMDYlV8J2Pt2cUzOCGkDo0MHJ5kDAJowyGK8uF+FrX9au+29pPdpH0jEIYVsKHBMAXmi0tbec1QpUXaEgwIG+mtm6gFm0r01otpOQaD6urGH2stB+fH25kHCM/i936RF5YQlOwnnljH9ay+AkjMhGwVIj2P00pdmZpmlfer0ymGgGRU2ptwG2HuL7Okcp/ZrxlNLLciv+jt4w7TGEjbDKx/3AdjG8XyNJZbSghlloY42g1lKoEuzOpAOKpcsipYcP5ghSSekYzWlPT4pogIDeA3E5hkjYkeAK/9L4WMXy+0Po8U+mVxAFnIGxlXQHfsxy7coT7e84Di/drF5y36Ofi0p/szhKxwc60H86RjP3 PXBvDhTa SqPrZAFE4uLGSu9QU7LKO7lFP9ZtDeLu6MaKqcjEzOxSeR6DaQmJoD3eC2isEVs/7zP3C9qavprl9dFjhYTZ7fxpwZO96fn1YFyVtWOs/U1wrb1VJBb8qo3SuO1gAVoPxNonob96DGdiskXAfHce8lTSm2Sro2T+uwelXXDPdfYRjWsM= 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: This function is not referenced anywhere else in the kernel, remove it. Signed-off-by: Lorenzo Stoakes --- include/linux/gfp.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 65a78773dcca..67c5164f4758 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h @@ -188,13 +188,6 @@ unsigned long alloc_pages_bulk_array_mempolicy(gfp_t gfp, unsigned long nr_pages, struct page **page_array); -/* Bulk allocate order-0 pages */ -static inline unsigned long -alloc_pages_bulk_list(gfp_t gfp, unsigned long nr_pages, struct list_head *list) -{ - return __alloc_pages_bulk(gfp, numa_mem_id(), NULL, nr_pages, list, NULL); -} - static inline unsigned long alloc_pages_bulk_array(gfp_t gfp, unsigned long nr_pages, struct page **page_array) {