Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3507583rwb; Fri, 16 Dec 2022 16:26:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf4BMgAWNOfwbUwckgL2GFm9qsCgXnx0yxR1vmdF90mnC7sw2UpDYVMU3TEwLY0MAmCFvE5T X-Received: by 2002:a05:6a21:9213:b0:a7:345a:103a with SMTP id tl19-20020a056a21921300b000a7345a103amr42158324pzb.44.1671236810680; Fri, 16 Dec 2022 16:26:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671236810; cv=none; d=google.com; s=arc-20160816; b=UBDvzc1ejqRTEe8enYt0igJzE6MOgi3UVR0ZAJ+Zw90B/z0Gy13a9w7a1EEjpduzMy iRSAUsW8cVOw2djroMdQjYUt5uJE7l19axILul083TPiVTo3Jcgz3091AjYECBIwl0Lh DGXhJlOgyQSfzCVts4otzBqRlkTuyJx9gFgAWH04ATZG67TRtsiD3OUya/vzkfXH8sqc 09TcMy+eKdtpSzHX06QLP6bBm7PRJJh7RfDGIwuGeONlOubfjLZa2X2BCdxqs+8UtWc/ Jqaw+VKNeCOAG8ic56AdtCSlwAwFw6esvzAzZYF0mZSQ0ynUWHrLO0S5QDoN1Zd640di x1kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=5hOSZ9XvCZ0lVh7H3bPZKfFn1zZw42pxRgq17+nafB0=; b=0TD7vkQWRCajl9E/jGinkqayaxqBF605IBuxgGgM0TTInDlNBUdoo7JwlP/pxRr28L sXZd4ry0waoz4ic60FJfXyHU6aKoGm+1XI55Nl1ROO0FbBvkgauTRG3Od7tEXhaNZCLo /LyfUfpygNJ+IQ0YqeFAoDGanIiJo9b+kSMx7u4KAMK6vOlELAWzzXD4bTN2B2+MRpou fgSFMR69q3YHsvqntVnk4XEO/l4nJ9mWKW7//Ib06DN2MHp1wBKUWK5OU7z8vTX3+jEf Zt0tupI85IF7dcu6jUqjje+mFITolkhTAGuH25xnI6u7UnLbujYux4ImkFWVZbg4Euu9 wbYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Wd10C8F5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b184-20020a6367c1000000b0046b127a1e8bsi3981125pgc.488.2022.12.16.16.26.42; Fri, 16 Dec 2022 16:26:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Wd10C8F5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230434AbiLQAXB (ORCPT + 68 others); Fri, 16 Dec 2022 19:23:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231496AbiLQAW1 (ORCPT ); Fri, 16 Dec 2022 19:22:27 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74E847CFFC for ; Fri, 16 Dec 2022 16:16:21 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id p13-20020a05600c468d00b003cf8859ed1bso2870400wmo.1 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=gCDSKPNogSo5E0w5oqrSCtl3vlWiEWnkddoW92Jihc0/0uv+MNu71HEFuDI3doR+5j qPF0TjcRqc3fYlUPn7CQ417MVpZ/o1oFv7SyHQCUdlX+jQvHl9ty10YD0DGcsNn23n7Z HMrn/WWNdwFF6lFGQrAnhp8tJ7JpthI0srBOb64uPGc8AGhvbY61jVCBhcugMhB6Y5Qi tOZGCv48vxZVx8i3a1d5ad58WzEuc9mfVqZOAcAf/GfxKu/qxWHwC4RYrVT9YBxXZH5Y hfBG06pafA//+6L3z8LpTlF3aVGu8OEZ9dzigsMKk8D4tUaz+yT7Gl0qevfAkOtfu0lG +ECw== X-Gm-Message-State: ANoB5plzOhahBqHZIzGERC0XodDMQUTxVCNogj+KOZq/f43eg8sgyStZ ZWfaT+LmX/r+x8dDKCFHhMs= 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) { -- 2.38.1