Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp123073pxb; Wed, 3 Feb 2021 01:02:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9YH3RhE11GtyCYElPUmcH/DFGGFfVjND9VzUjLRNgkDS/UrqVIz90MABFq0RTNXAhzUqA X-Received: by 2002:aa7:d15a:: with SMTP id r26mr1904146edo.29.1612342977803; Wed, 03 Feb 2021 01:02:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612342977; cv=none; d=google.com; s=arc-20160816; b=qlAz5Lkj5iYUiSgPj7nQlStFwwnlwtndWEBTUuf1IjmEE+uujS2wTukbo9S7F1XSck 1losFSXql9EnIYWcO4uGueLBDu/2K/ecxQGYZFyDgi/+UNu/ncJTgGh91re7oy88Sktj 4TksVVuC7tgskLXgRiiKT/NCjR0D0D1/ozsc2Fu6zULn53okeKMh2aDAy6i3wKFmaIQl PZGfCa/PC3IVyY2KOWUlINy29/BDcIxOtq1xNZ//Hs/wVSN0+n917IY4yWGUx3Gs6sEj JLg3gKcL7meXhlElxn0X6XJu5Mrh9uxxSGagckEwjyohbR/7ljVd5WYry7vQeeq7GE3C AobQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=d0+x7egL9Qu9DyTDy1qWd3xGJ1Te9iPGoSgdl08Km7U=; b=05KiZB1ViUYpLqmn7PleaKVnaTfaUUDhkn1GqoGo8U67lJm6TDHL+UkGsEferPVU4V kFOlUik0GfTwoQ6EA5bhOBu5oqyJLdp1grFS4+J14d6AAbEUgUsRuulpoQS20vbarXZk t/Y2rHwQwYjANv1gMOPQ/wgYv8m1FyImo0BctBTZEl9eA3wXfiAkojepJ2IHQsL93FU8 jVQn0A58AthEAJWeJVl65EzxK+2vFzs1zzVqSqRRncYteNZQtN2mdSjpFKM0cSrgS6Gw JMv2w9PaUN1i1pmQtVz2yzA83aSr4jX6h188Xq5zEpApPkIO8u0dPZren+fYetFn4Pke t4ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=WCS08+UT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cs15si875972ejc.502.2021.02.03.01.02.32; Wed, 03 Feb 2021 01:02:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=WCS08+UT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233053AbhBCI7Y (ORCPT + 99 others); Wed, 3 Feb 2021 03:59:24 -0500 Received: from mx2.suse.de ([195.135.220.15]:56288 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232880AbhBCI7W (ORCPT ); Wed, 3 Feb 2021 03:59:22 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1612342715; h=from:from:reply-to: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=d0+x7egL9Qu9DyTDy1qWd3xGJ1Te9iPGoSgdl08Km7U=; b=WCS08+UTloQ8w9V9X07PshoidPrR3T0C1D8IT5lGC/Kr+EZJ6BkxmCkeJefyLiTP8qjIqm L73CpIywNQvgnRWI+YV3bh4QkOhpY1J1sxsIa7QBjlU9wJ7cEAQaiI1JSwb9Elv3FGGM2s k1KiS9e6wuNM+KE+AaDQDSKhT09Igb0= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id AA166AC45; Wed, 3 Feb 2021 08:58:35 +0000 (UTC) Date: Wed, 3 Feb 2021 09:58:34 +0100 From: Petr Mladek To: Christoph Hellwig Cc: Frederic Barrat , Andrew Donnellan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Jessica Yu , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Joe Lawrence , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, dri-devel@lists.freedesktop.org, live-patching@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: Re: [PATCH 05/13] kallsyms: refactor {,module_}kallsyms_on_each_symbol Message-ID: References: <20210202121334.1361503-1-hch@lst.de> <20210202121334.1361503-6-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210202121334.1361503-6-hch@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2021-02-02 13:13:26, Christoph Hellwig wrote: > Require an explicit call to module_kallsyms_on_each_symbol to look > for symbols in modules instead of the call from kallsyms_on_each_symbol, > and acquire module_mutex inside of module_kallsyms_on_each_symbol instead > of leaving that up to the caller. Note that this slightly changes the > behavior for the livepatch code in that the symbols from vmlinux are not > iterated anymore if objname is set, but that actually is the desired > behavior in this case. > > Signed-off-by: Christoph Hellwig > Acked-by: Miroslav Benes Reviewed-by: Petr Mladek Best Regards, Petr