Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5131247rwb; Wed, 17 Aug 2022 11:37:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR5W6abmy568rCjneD4O6xeLBcbhcH+CwrzvLFw0dsN0zxGiKbvqtQ9YyKwRrj3WuF7b1eGZ X-Received: by 2002:a17:906:9749:b0:730:c005:5d59 with SMTP id o9-20020a170906974900b00730c0055d59mr17332064ejy.419.1660761449498; Wed, 17 Aug 2022 11:37:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660761449; cv=none; d=google.com; s=arc-20160816; b=CwHMzWaYaEZoUXxDmGL9oUr8STdeOprUbi8wQXPX++yl1yOC1an6vCq8HUzjxopRyz C5k87JG4H3h4ybVAVcUX51nWWEXyjVSqLy3MvOBGwpOJhO4H7OUoZcWGRqvb8SxrauBa bKkI0saCakwM+A1Pb8dZ5y/nAvxBr8Emzq5oDNsfW6eQaOsfW33VjPtNq7rfdDrODzi5 GnHlyKNTa+tGXVRa+9vU7+PunzfI69WCN40w++vfhfxhW1m75ubcM6OqeIUZZNWUfJk7 csVpBdMdFvEJwIN0jfd7y3hjcKGEPX4xu6U9sPTytjj8FSvv5NaiKdcJrhohLNwFmOmd KeAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=wzlRfRX9dVGFulwLTEUhMQo/88Da215m1lnNwIo623o=; b=t/XhyTmfxUkN5zhBTFuovN+JfW0oW96hhu2lluZTXKjqQFSbVQKZAtful1PwqLq34p WocVlLgVAT8cU0MBblxH6ukCxzOowPiLxs6IL1vnrIPfLeJGyp7xS1pEPWD1qpl7R4CZ 5SCfVunIOD5/ViK0KVuFMDFV6nr/k2w19Y5Xss9nLd5dAvRTHAW+18VSiBC7F9mqNjRS retSoqARz597chNYT+SHlumD7aGmF2fV3uZITy0UKMl/iRy6tUg5l68Rew05V84bOPPR 95ciKEp2eAn4kZuZjlTgl3nJuqou06f7fsodZz7ZcLLRaXrscji98iUIYxQ78Yefea+V DZIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=dZ0flP8K; 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 c7-20020a05640227c700b0043be28d93adsi14568837ede.261.2022.08.17.11.37.02; Wed, 17 Aug 2022 11:37:29 -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=korg header.b=dZ0flP8K; 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 S240871AbiHQS2R (ORCPT + 99 others); Wed, 17 Aug 2022 14:28:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238187AbiHQS2O (ORCPT ); Wed, 17 Aug 2022 14:28:14 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61B2F9AFCE for ; Wed, 17 Aug 2022 11:28:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8C1FCB81EAD for ; Wed, 17 Aug 2022 18:28:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F485C433C1; Wed, 17 Aug 2022 18:28:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1660760883; bh=CJxXwmMwa4XSWXmiHmDSo4nPBMEYTGgXVvfB3WCrsXY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dZ0flP8KtvIg3Jzxcwkes0sJBtRpGj8S954Sqp7+XPk538lqWtNGKSBXq08st3h6c TeZRbdhmY8HVdJkvYPMZ9zx3AO4YUwh7dJa3BCDVfkz7i8srw2M+ctWf9eE2kM1Zq1 y4w8yDcNIYmH5GMElL2jOCisMtxRIO8+zY4zGUGw= Date: Wed, 17 Aug 2022 11:28:02 -0700 From: Andrew Morton To: Brian Foster Cc: Alexey Dobriyan , linux-kernel@vger.kernel.org Subject: Re: [PATCH] proc: save LOC in vsyscall test Message-Id: <20220817112802.29b92729e25313eeec2d44d3@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 On Tue, 16 Aug 2022 07:44:48 -0400 Brian Foster wrote: > On Mon, Aug 15, 2022 at 12:50:04PM +0300, Alexey Dobriyan wrote: > > From: Brian Foster > > > > Do one fork in vsyscall detection code and let SIGSEGV handler exit and > > carry information to the parent saving LOC. > > > > [ > > redo original patch, > > delete unnecessary variables, > > minimise code changes. > > --adobriyan > > ] > > > > Signed-off-by: Alexey Dobriyan > > --- > > LGTM and passes my quick tests, thanks! > > FWIW: > > Reviewed-by: Brian Foster It would be appropriate for us to include your Signed-off-by. Please send one along?