Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp198153rdb; Thu, 2 Nov 2023 00:23:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGg9Z809rPtY7NlCgQjvB2qLnDFaMSPXjI8xewmHHEtbh4TnOdQXbmYTQ26zYe2goAzKWVe X-Received: by 2002:a17:90a:19ce:b0:280:2985:56af with SMTP id 14-20020a17090a19ce00b00280298556afmr12880484pjj.45.1698909787096; Thu, 02 Nov 2023 00:23:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698909787; cv=none; d=google.com; s=arc-20160816; b=yMxjUFpr/6XA3y0bXHkX4Pn5Ixd9UKnY0orL2E8nBgde7W/DLPsV/fdXw0CDFcowuJ MFW415Thc5PzI8lk0hkYf8laChScVz1rzwGzDjtWDMjMmNO7S6W8hwEtDpBsXOQcuxC7 pTZYumDVZDfB1mKXEuYtV6vOmLuA68GDa1GK/rYHPcIvy/F1xxDfJ8Qbr7Mkow45vyD7 WU3sxAyv9emuYFZgJLADPauZHobsn7Vl6iG0tzLsjk5eoW+G5yKjohFlBGhXS/69VIMP jtN5y5klkM2ZCAJ7+K438wYlX/cS1KQv5aIqCD6q3AsJ/5hVxgKaBfwC6nLbItl3ra4m hg4w== 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=/ZzgMxS87UstitPyGkyQS3FJndMdCvFkV+kwkI7K4+Q=; fh=UTHIrACfCapN2CjePvwZNLsCbVibC17WqekrrFy14vg=; b=gEsX/AmVnBKRiuvgTC+V9IkWLQh0zNrlY7d/5rQqCoKiBJTi0eKdZdklOqpsHnkwDB Va5T5Ox3J3TFSqjkYhOYTcwOLiV3uGZqIPNZIcAyt0Ixq/q4OgyzvGIAAcs0UVilO1Dv GeBcryQuqozwFxRL2KpAfdtg3ITOT14rS8cW5LfE8Yp8uDqEPWV/ubVjnK2UhLg7QByZ NqXgw+dncWagCkudST7T2JRmRTup07ipaQ3NfbJ8VIgrcR7DeVF4r2NX83teiAJ95QS6 z6rni4tyO9HxA2piPc0Nw6fMHl+8T9Cb3vafAwbFHblMWupJFZbtxwEcWuda/sGdz6UE DOAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=SjZ0e5vm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id p12-20020a17090adf8c00b0027d74e8a50bsi2233194pjv.69.2023.11.02.00.23.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 00:23:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=SjZ0e5vm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C300E80A73F1; Thu, 2 Nov 2023 00:22:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233756AbjKBHVh (ORCPT + 99 others); Thu, 2 Nov 2023 03:21:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjKBHVg (ORCPT ); Thu, 2 Nov 2023 03:21:36 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F24A12A for ; Thu, 2 Nov 2023 00:21:30 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-9c773ac9b15so83004866b.2 for ; Thu, 02 Nov 2023 00:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1698909688; x=1699514488; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/ZzgMxS87UstitPyGkyQS3FJndMdCvFkV+kwkI7K4+Q=; b=SjZ0e5vmg3TSgHxdjsMOgzsXM3SzeuC5lwm9ZQxaWihpI7QkV5xQMKGQIEs7HegKhD Ef+nUj3jaoaYV4COVluB5Oei7uuY4Ab6+uBclYmQjFar+Q9aU+fTnEiYBg5OxlaX7sEe EWeQxRQ8MS2AEpHD4xwiGT4/3A1+/3HgsaioU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698909688; x=1699514488; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/ZzgMxS87UstitPyGkyQS3FJndMdCvFkV+kwkI7K4+Q=; b=a0FeAnAi6LWBfAW6I1Bx//AvoySKHvD0KsRQOBnydfqh7lAajOAdHGp2K+Z9d483JM Wdlwf6+K/JVdKWC++E6896f32oyW4h/Jf2+U/wAQoDXJRRBYnH7VjROTP7mLioXxblQI g5GoXhRqme/hdVkHT7sEop6O6uP9M8jNbEDxiTJMWCUuJPj6qtEHJrxUoT/mWNikKO3r 4MLJWWJbExkzHvI8oSlKOPzUPUOQkNBwPP+EnC3oTPjE1Rtza8nZOZqEnj1ZxMDfStSA HbdnFNWWYXpJxu8K2hKvDPaF21M/yQzpvpKGaqOQd4qJpwgpmYTNQqwCBkIaIFD1PXLN qgnA== X-Gm-Message-State: AOJu0Yx4ilOq7p2C/bo1nJHUNDdWdUYhvG8jmW6lFQRblln+b9hoQJto +2336P7BUH50dMv4uYRIcWDgo0JavmMXP2iREZRIPmzm X-Received: by 2002:a17:907:25c6:b0:9bd:f902:9a61 with SMTP id ae6-20020a17090725c600b009bdf9029a61mr3520965ejc.18.1698909688537; Thu, 02 Nov 2023 00:21:28 -0700 (PDT) Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com. [209.85.218.53]) by smtp.gmail.com with ESMTPSA id o11-20020a17090637cb00b009b65a834dd6sm769333ejc.215.2023.11.02.00.21.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Nov 2023 00:21:27 -0700 (PDT) Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-9dbb3e0ff65so30593866b.1 for ; Thu, 02 Nov 2023 00:21:27 -0700 (PDT) X-Received: by 2002:a17:907:7ea4:b0:9be:8ead:54c7 with SMTP id qb36-20020a1709077ea400b009be8ead54c7mr3648207ejc.12.1698909686859; Thu, 02 Nov 2023 00:21:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Wed, 1 Nov 2023 21:21:09 -1000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] Modules changes for v6.7-rc1 To: Luis Chamberlain Cc: linux-modules@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, andrea.righi@canonical.com, keescook@chromium.org, zhumao001@208suo.com, yangtiezhu@loongson.cn, ojeda@kernel.org Content-Type: multipart/mixed; boundary="000000000000642f940609263c74" 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_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 02 Nov 2023 00:22:09 -0700 (PDT) --000000000000642f940609263c74 Content-Type: text/plain; charset="UTF-8" On Wed, 1 Nov 2023 at 21:02, Linus Torvalds wrote: > > kmalloc() isn't just about "use physically contiguous allocations". > It's also more memory-efficient, and a *lot* faster than vmalloc(), > which has to play VM tricks. I've pulled this, but I think you should do something like the attached (UNTESTED!) patch. Linus --000000000000642f940609263c74 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_loguy4k40 IGtlcm5lbC9tb2R1bGUvZGVjb21wcmVzcy5jIHwgOCArKysrLS0tLQogMSBmaWxlIGNoYW5nZWQs IDQgaW5zZXJ0aW9ucygrKSwgNCBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9rZXJuZWwvbW9k dWxlL2RlY29tcHJlc3MuYyBiL2tlcm5lbC9tb2R1bGUvZGVjb21wcmVzcy5jCmluZGV4IDQxNTZk NTliZTQ0MC4uNDc0ZTY4ZjBmMDYzIDEwMDY0NAotLS0gYS9rZXJuZWwvbW9kdWxlL2RlY29tcHJl c3MuYworKysgYi9rZXJuZWwvbW9kdWxlL2RlY29tcHJlc3MuYwpAQCAtMTAwLDcgKzEwMCw3IEBA IHN0YXRpYyBzc2l6ZV90IG1vZHVsZV9nemlwX2RlY29tcHJlc3Moc3RydWN0IGxvYWRfaW5mbyAq aW5mbywKIAlzLm5leHRfaW4gPSBidWYgKyBnemlwX2hkcl9sZW47CiAJcy5hdmFpbF9pbiA9IHNp emUgLSBnemlwX2hkcl9sZW47CiAKLQlzLndvcmtzcGFjZSA9IHZtYWxsb2Mo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