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 X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31AA8C48BDF for ; Thu, 10 Jun 2021 08:25:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1BE02613FE for ; Thu, 10 Jun 2021 08:25:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229943AbhFJI1s (ORCPT ); Thu, 10 Jun 2021 04:27:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230465AbhFJI1h (ORCPT ); Thu, 10 Jun 2021 04:27:37 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C306C0617A6; Thu, 10 Jun 2021 01:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=OnS/2ehcGiHcLjbKewQz+Ha41vC4MyWtSGk/UFBkrDU=; b=B8wSJz/Q0jDIs9+hr+OC+RIGnZ CDUbj2W+Ls9G+Z9ipnrJXFzjBgQyV94hpAU0gD099Mbd0cBcpaEOT983mSI4dl4tk/QWn4AWbNYGP fej1hQlbiWI9iyZJdm8H60Zxso/AJK+nWBfYsQk4SX+u+SHpYaD9Vxe9Fu3nCXYJHXb4vUVi7Vx7f m0tcj1E1JvShiUwrh3YESMlvPnBivViCsxqDJQViUI+BdybYhounILpF5SLUR/cg3EB+ZkfeCNyET 50z7/Xonri0qvIPhMQ1Bs2Y2dnwUGwQ1gJqD6vvznGNt3o9Ocls0QGTeldffKUltemOT1+wVDeUjA rBVA623Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1lrG0A-005NZz-11; Thu, 10 Jun 2021 08:25:28 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 3B6C5300299; Thu, 10 Jun 2021 10:25:28 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id E513C233CB080; Thu, 10 Jun 2021 10:25:27 +0200 (CEST) Date: Thu, 10 Jun 2021 10:25:27 +0200 From: Peter Zijlstra To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , stable@vger.kernel.org, Mark-PK Tsai , Ard Biesheuvel Subject: Re: [for-linus][PATCH 5/5] recordmcount: Correct st_shndx handling Message-ID: References: <20210610003344.783752614@goodmis.org> <20210610003736.777268599@goodmis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210610003736.777268599@goodmis.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 09, 2021 at 08:33:49PM -0400, Steven Rostedt wrote: > From: Peter Zijlstra > > One should only use st_shndx when >SHN_UNDEF and SHN_XINDEX, then use .symtab_shndx. Otherwise use 0. > > This handles the case: st_shndx >= SHN_LORESERVE && st_shndx != SHN_XINDEX. > > Link: https://lkml.kernel.org/r/YL9HxEc/l0yrl5o8@hirez.programming.kicks-ass.net > > Cc: stable@vger.kernel.org > Fixes: 4ef57b21d6fb4 ("recordmcount: support >64k sections") > Reported-by: Mark-PK Tsai > Tested-by: Mark-PK Tsai > Acked-by: Ard Biesheuvel > Signed-off-by: Peter Zijlstra (Intel) > Signed-off-by: Steven Rostedt (VMware) This is apperently causing trouble for Stephen in -next. Please hold.