Received: by 2002:a05:6a10:5594:0:0:0:0 with SMTP id ee20csp92225pxb; Mon, 25 Apr 2022 06:27:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkKlxyP+tttsAK9hbRzEkhB4hwNXXmf0SmTDRl1loxkPPsnhStH4sDRMaOT2UndIugmIph X-Received: by 2002:a17:90a:e7c7:b0:1d9:6a37:9f5e with SMTP id kb7-20020a17090ae7c700b001d96a379f5emr6591449pjb.156.1650893242175; Mon, 25 Apr 2022 06:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650893242; cv=none; d=google.com; s=arc-20160816; b=1Jk+X0K9vBXy9bylIhnHW07YTTQCYt2I0ZQocGheWpj0MuxOo10GcJmFLU0jY/Ja2K 27sm1+cLnfAuL7WbX1iq+dh/hN/wGyX8vIC19EGNNExz4n0Ai3Y7zggPnSPCrR6onnTM HIJxGiOJZSdEPZtrP9NUBWlzc06zhKRA5UL8f7R7/UrXQJZNS8H9OW3dMvN8s7+/unpM 2C7RiQRWgjtJc4OGPDVzs/IcnCyKQdA4lirw1/0YbOq2J+Zr/1UxqXCqJew1G/lRm66K OPIDq9GILJL8KX6AuEhDfICCskjEeRZkpJ7LYmewtI2yzT2Jtj4xPxCMUHdKg5X3PQAI igRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+jwOMe0PYx7m3rTeqaWcpjbZkR+dZWgzgcwhEumSydo=; b=V2JDAXkcHCrAYDsfqjf07JXEa0kuCrA0l1o6g1uxgHdIgWcCMFalujLZr0qqE8a27a pGvH5B9DTrckNzytGM3761XYC3Q/VCsgJtmmcZ1LbZvbEqFQu8AodJtyD+3umFXqnQoN WPq2MK3lfoTXAArOd8XaUtKM8PXFu+P0vnL0WZI4qW3bzmNKZa23NZeESlNLHgArleB/ OmUEZvMXXIiGX8iio3OiBvCmgXWis9HTGyNaJV1UGXgLmVtAJbnKE0LhoL9WmsEwSRCc nlmDeRcrO3AnB/6cPXzZMSfU52FyQ/VdwZMbr6TunOjIwyAYjSMazhWk5oEWAUWspusJ XcRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bWixug3Y; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a65494b000000b003821f536216si16376315pgs.578.2022.04.25.06.27.00; Mon, 25 Apr 2022 06:27:22 -0700 (PDT) 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=@linux-foundation.org header.s=google header.b=bWixug3Y; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230442AbiDYIbv (ORCPT + 99 others); Mon, 25 Apr 2022 04:31:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235451AbiDYIb1 (ORCPT ); Mon, 25 Apr 2022 04:31:27 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38EE5DF91 for ; Mon, 25 Apr 2022 01:28:21 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id bu29so24891877lfb.0 for ; Mon, 25 Apr 2022 01:28:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+jwOMe0PYx7m3rTeqaWcpjbZkR+dZWgzgcwhEumSydo=; b=bWixug3Y4hVwOtAhfB47bgvZ8eP8IeA5kMCtmIlTL31LalsQbbNK+U9/17OYg1T/8Z Tp+yRPQGuw3a5QHcaX8eMs3HaudIkxOR8KHQQhaR4FUBTySPHjEM7n4Sa1BMw2S5Foki Gede7EwfU9IpLZWmT2v5pa74fzXl+BvSAjJ1s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+jwOMe0PYx7m3rTeqaWcpjbZkR+dZWgzgcwhEumSydo=; b=hZ8/J33HIcoJ0p8QAuAi3U/LvIBp3QgztaQse4GR76qu5MjlkXZHBAQjsl7gM2dlwN 1crRAnyfed+thFlq5DhbS0YQMAQJ2y3YwPvRPyjwVnK7W6A7yJo31x6Evyst626ENLLL ymmWqVIBjIkJTyWwJSNZ+x8JX0vG+R2n6rd6f9y2jQARiAaNOxKomZkVs7hjy3oYMHXp tN4SjIbRzfpovnyIQaksxWEc+9v7OJlvzedsYg3jHexqxuQ3/phSjjo0rYj+ryIkAUdv HDZOCXeqZvNZDSY0m8m6Vnwk0LzI9+WE9RIoE1zY9hip0065h/UkYox2FjdNVtpI9HCJ Lolg== X-Gm-Message-State: AOAM533Aig53CuCBqrNY+YdSrHKZdoCB2rhJDc/4tUatICAZu/A7eY5O nS52oTGGDAPNA7PedMKY3pzOWtTFHbrnk/WBxGY= X-Received: by 2002:a05:6512:e8f:b0:44a:bf22:89c8 with SMTP id bi15-20020a0565120e8f00b0044abf2289c8mr12304818lfb.323.1650875299198; Mon, 25 Apr 2022 01:28:19 -0700 (PDT) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com. [209.85.167.46]) by smtp.gmail.com with ESMTPSA id u29-20020ac25bdd000000b004720c866dd0sm171500lfn.87.2022.04.25.01.28.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Apr 2022 01:28:18 -0700 (PDT) Received: by mail-lf1-f46.google.com with SMTP id p12so19276087lfs.5 for ; Mon, 25 Apr 2022 01:28:17 -0700 (PDT) X-Received: by 2002:a05:6512:3c93:b0:44b:4ba:c334 with SMTP id h19-20020a0565123c9300b0044b04bac334mr12311172lfv.27.1650875297704; Mon, 25 Apr 2022 01:28:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Mon, 25 Apr 2022 01:28:01 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: page_alloc.c:(.init.text+0xa7c): undefined reference to `vmalloc_huge' To: Naresh Kamboju Cc: linux-mm , open list , Song Liu , Muchun Song , Christoph Hellwig , Vlastimil Babka , David Hildenbrand , Rik van Riel , Andrew Morton , Greg Kroah-Hartman Content-Type: multipart/mixed; boundary="000000000000b05d1505dd765b4f" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no 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 --000000000000b05d1505dd765b4f Content-Type: text/plain; charset="UTF-8" On Mon, Apr 25, 2022 at 1:10 AM Naresh Kamboju wrote: > > # CONFIG_MMU is not set I just sent the stupid and straightforward patch in https://lore.kernel.org/all/CAHk-=wi5DYKbFE4j-jC2HGsKVuf1RpZbEiYt4tSXuxGKiN9oJg@mail.gmail.com/ but then I thought maybe the alias patch is as simple as the attached. So does either (or both) of these patches work? Linus --000000000000b05d1505dd765b4f Content-Type: text/x-patch; charset="US-ASCII"; name="patch.diff" Content-Disposition: attachment; filename="patch.diff" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_l2egiimz0 IG1tL25vbW11LmMgfCAyICsrCiAxIGZpbGUgY2hhbmdlZCwgMiBpbnNlcnRpb25zKCspCgpkaWZm IC0tZ2l0IGEvbW0vbm9tbXUuYyBiL21tL25vbW11LmMKaW5kZXggNTVhOWU0OGE3YTAyLi45ZDdh ZmMyZDk1OWUgMTAwNjQ0Ci0tLSBhL21tL25vbW11LmMKKysrIGIvbW0vbm9tbXUuYwpAQCAtMjI2 LDYgKzIyNiw4IEBAIHZvaWQgKnZtYWxsb2ModW5zaWduZWQgbG9uZyBzaXplKQogfQogRVhQT1JU X1NZTUJPTCh2bWFsbG9jKTsKIAordm9pZCAqdm1hbGxvY19odWdlKHVuc2lnbmVkIGxvbmcgc2l6 ZSwgZ2ZwX3QgZ2ZwX21hc2spIF9fd2VhayBfX2FsaWFzKF9fdm1hbGxvYyk7CisKIC8qCiAgKgl2 emFsbG9jIC0gYWxsb2NhdGUgdmlydHVhbGx5IGNvbnRpZ3VvdXMgbWVtb3J5IHdpdGggemVybyBm aWxsCiAgKgo= --000000000000b05d1505dd765b4f--