Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5137162rwb; Wed, 17 Aug 2022 11:45:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR5FWADSQzUHTzjTtXO5SJPDaXlM/vYg0aQ+zcTYIfLLdwMVWD0wO7iE+vTFG2RRlrWc8cEE X-Received: by 2002:a17:907:7623:b0:730:c378:b82e with SMTP id jy3-20020a170907762300b00730c378b82emr17000682ejc.372.1660761915843; Wed, 17 Aug 2022 11:45:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660761915; cv=none; d=google.com; s=arc-20160816; b=sqKj03v8njYaeV0BfsHOa24FTrmbO0/A2qijZHTNCsldTIQUk2a6y7QdpiDmFa9Fgy wWJldOBN0JwC3YsZf5EQ+9wn8WsWBuDfkn3o1D6NRtwv2IV7XChhppLM6aapb57P9dqy aa7WiEEQ4lR0CE1OIkc9RWIrEtCelEO3YthP+qJGZ9dh/sZJ55HRuDoXDilgb5aafGit DJpEWmn2cqBcRVoHSJwTLm00QKrGwifmmB3+LYiJJ3ShysNIVLpYzbaReQIU5DiUbljv dmBTdGBUe1cWEgMRfsjx20G146FrDxczhGHirbuNlbxDRFEZBWiINOBZOX49MERUqvz/ lfug== 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=zGxwI/HJK8YvsL38NfBt47qZQNhHEBbbdeHKaJUV0vE=; b=zmGBoF/CElN1TRL3GZ9a4c79ibCaAEdabgO59rOG6u1bxXurxy22Vi67SyXdLqc9E7 1kuShG3rfoKUt912ibPXp61oFVDmTA9oczTxzuLJU2h8e86imPB9WcUmCiZRT/PIJnox 3euD/JqqosOSlAw0dD8/gvhQzqThuk1d8gUHqBnG+aNaZr+eh8r6ITmu15ZlCxEAHjod 8szj1U5OqmDsUR7g5cf7B6lzdOFN2m4wayVKqJeAlLCNiCy3UQDuhUbOqBbxq3OFPH9E qlCXHZz4a4TgrI66otTTmaou2Gm9qNh9gdIG0/DrHhq4o57OoesEUZ0YZUU4X2fVYUIh 97kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=L2LPWzrG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g11-20020a1709061c8b00b00734804bb362si10388456ejh.568.2022.08.17.11.44.49; Wed, 17 Aug 2022 11:45:15 -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=@redhat.com header.s=mimecast20190719 header.b=L2LPWzrG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238687AbiHQSmM (ORCPT + 99 others); Wed, 17 Aug 2022 14:42:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230051AbiHQSmL (ORCPT ); Wed, 17 Aug 2022 14:42:11 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 594CFA00C6 for ; Wed, 17 Aug 2022 11:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660761729; 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=zGxwI/HJK8YvsL38NfBt47qZQNhHEBbbdeHKaJUV0vE=; b=L2LPWzrGerol0IQHBxA5dmJZJKHFZeAY/jDYzTuxhFqf3ewmrjvxbNel50IU0QCDqEBb+F KvN5T7VhMe2WNf/Y4pJalJdLmfQhueLQ93fTulK0P9uX3n3gR5DWRQu2+cxJn/9/6lnyS2 vu0Pk85E66QIfgM/0dVYVaBiE6MHuBA= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-347-IhJ676m1OGGgI4p6W7EdZA-1; Wed, 17 Aug 2022 14:42:05 -0400 X-MC-Unique: IhJ676m1OGGgI4p6W7EdZA-1 Received: by mail-qv1-f69.google.com with SMTP id ly9-20020a0562145c0900b00495bcb17d9cso2790049qvb.13 for ; Wed, 17 Aug 2022 11:42:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=zGxwI/HJK8YvsL38NfBt47qZQNhHEBbbdeHKaJUV0vE=; b=toWEWoYa2qtya6VLk53z8kvD8IDWO/AXxRlV8e10F8R4ZhdU5gkbDVo5zTXzlzOziQ 01vEv0mqomk20GZ0b7EYhQZNs+tcAG5O/Jv3mJcy4lVGVlrEol6Xx3IA1VUAdeZ/bCtC e1KKmUg3eUtY7IRyc4sfgt4Ts+HjAy40OOxnvFlSdSEqgstuICFQ84JIj832N9zVVr+/ OzEheFUL4gd0rusF0hDmmVRTfTnPsepI7fQoKhK93QvGlfZZu4p/QlMHJei3iPobI99V AbM4OcnJ7vpvty0uWGQaWUFgNbHvc3G3O8BYEvBWuXZl4HRbyXpZeH6NRFxcMz3cqSYs YKXA== X-Gm-Message-State: ACgBeo025lLlG+aHndX9bd9LMcHMp/w5tmYgg5Zs2ZpB+/U6RLHITW93 gUI/66DF2JrgsKxb1eTR6CmyFBJAHExQWZNVsBu3axmKafuV8RNk5fDU7uo/m5fBhvQ1wYB2lwQ 9can1GtgLX9a68MgsKFUmTmPB X-Received: by 2002:ad4:4a73:0:b0:474:6e80:e1cb with SMTP id cn19-20020ad44a73000000b004746e80e1cbmr22951892qvb.127.1660761724871; Wed, 17 Aug 2022 11:42:04 -0700 (PDT) X-Received: by 2002:ad4:4a73:0:b0:474:6e80:e1cb with SMTP id cn19-20020ad44a73000000b004746e80e1cbmr22951879qvb.127.1660761724629; Wed, 17 Aug 2022 11:42:04 -0700 (PDT) Received: from bfoster (c-24-61-119-116.hsd1.ma.comcast.net. [24.61.119.116]) by smtp.gmail.com with ESMTPSA id b21-20020ae9eb15000000b006bb6c63114fsm3797780qkg.110.2022.08.17.11.42.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 11:42:04 -0700 (PDT) Date: Wed, 17 Aug 2022 14:42:02 -0400 From: Brian Foster To: Andrew Morton Cc: Alexey Dobriyan , linux-kernel@vger.kernel.org Subject: Re: [PATCH] proc: save LOC in vsyscall test Message-ID: References: <20220817112802.29b92729e25313eeec2d44d3@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220817112802.29b92729e25313eeec2d44d3@linux-foundation.org> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Wed, Aug 17, 2022 at 11:28:02AM -0700, Andrew Morton wrote: > 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? > Sure, feel free to use whichever tags make the most sense: Signed-off-by: Brian Foster