From mboxrd@z Thu Jan 1 00:00:00 1970 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 8180BC433F5 for ; Tue, 22 Feb 2022 17:57:39 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B5FE98D0002; Tue, 22 Feb 2022 12:57:38 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B10258D0001; Tue, 22 Feb 2022 12:57:38 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9AF908D0002; Tue, 22 Feb 2022 12:57:38 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0043.hostedemail.com [216.40.44.43]) by kanga.kvack.org (Postfix) with ESMTP id 87A8C8D0001 for ; Tue, 22 Feb 2022 12:57:38 -0500 (EST) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 409AF181CAEE3 for ; Tue, 22 Feb 2022 17:57:38 +0000 (UTC) X-FDA: 79171173396.15.1DFE272 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf01.hostedemail.com (Postfix) with ESMTP id 5990440005 for ; Tue, 22 Feb 2022 17:57:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645552629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hJzZgeDzNY7zmhhmPD8Ts6QhadgVuW+LtnZrIEdFmk4=; b=T1Y9hBwCAp+Zn3JT6xpWEyfR1QnIkNsNMbNa0BCflRWedtGlB462I+lGaEoHcP4V1TJhZP Y/fNCDutTY6NhAhdkWT4fTVio5jQVUpuUgVhph/TgUp+maViTvhK5FviAofX6b0fK7h1Pn LxXWOO54mMx53cPpxdj5kuGVmMfpA3I= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-363-SNKvZkHqNaiAPUo7OJqp_Q-1; Tue, 22 Feb 2022 12:57:07 -0500 X-MC-Unique: SNKvZkHqNaiAPUo7OJqp_Q-1 Received: by mail-wr1-f72.google.com with SMTP id g11-20020adfa48b000000b001e57dfb3c38so9214010wrb.2 for ; Tue, 22 Feb 2022 09:57:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=hJzZgeDzNY7zmhhmPD8Ts6QhadgVuW+LtnZrIEdFmk4=; b=iKwona3KxmqP16mj8VD1ND34GMOmH1VfIzI1UEdcmaQD7bjOEH5UFgyYu3bXXcw1j4 JLsNgLys8FDfD0cxERMBZp759GbvbfG+nb7beMitYrd0p0T4UtEJxPqbS0hj8U2JKsXC kSaLZJCGmOGStoh1eGjviWZAI2BpRQc/aZV06+lH2tmgv0M7H+DdYcCsRNCSJoE7h6cS 2QTur/dzfVNQRum/4stRjqYxDUsuo+k8tCe+5WTwNmGXmAM24G6ocRpDLz01/dGsCQTz uSwRAxe6h/RjAeRZMTEAWJ7KAvQjkZoyCBA8Ujq7BJCqL5lWIgcFXOi4E2luqPwgyYd9 R13g== X-Gm-Message-State: AOAM531B4XjeUFqOVATm70dEWJiRP+A6rOHbCQmT9oV7MesqI4CqB8qv Jmir3QJRgUObMSdViObWSz6yymtY/raUgFdIgfqbLOZvxL61GHXjCvrfVRZ3AgiLy7EJoShTOqP q7vft1dSosQ== X-Received: by 2002:adf:e10a:0:b0:1e3:3188:79c7 with SMTP id t10-20020adfe10a000000b001e3318879c7mr20431449wrz.329.1645552626724; Tue, 22 Feb 2022 09:57:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBLqieyLWhR9YxZvOyFiDe21CGa5pv2+OROhVCjx6WLj1pEI28rUPcGkTq6FUILDxoAizVhQ== X-Received: by 2002:adf:e10a:0:b0:1e3:3188:79c7 with SMTP id t10-20020adfe10a000000b001e3318879c7mr20431432wrz.329.1645552626509; Tue, 22 Feb 2022 09:57:06 -0800 (PST) Received: from localhost (cpc111743-lutn13-2-0-cust979.9-3.cable.virginm.net. [82.17.115.212]) by smtp.gmail.com with ESMTPSA id e7sm33021244wrg.44.2022.02.22.09.57.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 09:57:06 -0800 (PST) Date: Tue, 22 Feb 2022 17:57:05 +0000 From: Aaron Tomlin To: Christophe Leroy Cc: Luis Chamberlain , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kgdb-bugreport@lists.sourceforge.net, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-modules@vger.kernel.org Subject: Re: [PATCH v5 1/6] module: Always have struct mod_tree_root Message-ID: <20220222175705.ryqmhhrpokx7xbgv@ava.usersys.com> X-PGP-Key: http://pgp.mit.edu/pks/lookup?search=atomlin%40redhat.com X-PGP-Fingerprint: 7906 84EB FA8A 9638 8D1E 6E9B E2DE 9658 19CC 77D6 References: MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=T1Y9hBwC; dmarc=pass (policy=none) header.from=redhat.com; spf=none (imf01.hostedemail.com: domain of atomlin@redhat.com has no SPF policy when checking 170.10.129.124) smtp.mailfrom=atomlin@redhat.com X-Rspam-User: X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 5990440005 X-Stat-Signature: fs9pt4otywr9jidg5hrzm1fyukfq3yzs X-HE-Tag: 1645552629-649532 X-Bogosity: Ham, tests=bogofilter, spamicity=0.002737, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue 2022-02-22 16:00 +0100, Christophe Leroy wrote: > In order to separate text and data, we need to setup > two rb trees. > > This means that struct mod_tree_root is required even without > MODULES_TREE_LOOKUP. > > Signed-off-by: Christophe Leroy > --- > kernel/module/internal.h | 4 +++- > kernel/module/main.c | 5 ----- > 2 files changed, 3 insertions(+), 6 deletions(-) Reviewed-by: Aaron Tomlin -- Aaron Tomlin