Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2626081ybi; Sun, 28 Jul 2019 13:31:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/ZA9a4H/gkIG1MYODqlql38j4ly9C4EpPpcFkbH5FQM6K3v6GlJmxF35yyZyihvq7E37q X-Received: by 2002:a65:62cd:: with SMTP id m13mr35554685pgv.437.1564345911463; Sun, 28 Jul 2019 13:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564345911; cv=none; d=google.com; s=arc-20160816; b=QzkcmTDEr92MshJ07r/UPF1UmzBDWWPBfczMMSwJL0FLq4ovr8bfM4fNEhtAADgjxv JMo3+WBIOluTbVxsTeHKGqIRIHm9/yFb5iOC9zqFydDhelDpNYFYtsUApwphYO2LTFeY z2vjdDSIgYpSGs0kfPtJ9uRJ31JSn+6ZskDqZklkIC7ykaPNyFVbkdeTa2Y1KvnfujrF BS5r9y/SiYOIOHTZQhZ94380or66VJcXXC+1wa47bAyT5YY/FZnelBIuVVD8FJt0IURf EE5XKeuUEyG360KYAeEHhGoYF5mnvW27TrRfTdreNx9ERaZhV0/5XfW4h1vfqdtb0MPh 7gFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=bT1VpiBIPKXXiP2DoNcndlNho34WEKmtiLhYzXPkPyk=; b=SghtlDr+BgewltyGzd3HJzv+1iRN2Rbr/CMb67HXo9ZnWoWSNDtkv6H56nOAbsfrO9 23y7bKcchfn4yK5xrkcOzQjIZ3UcrhsEYJn7CmzuXwZ3KEk8dnIwil3PO9CHZ73sWCMO gb9mhb6READ5md+tmI/tf1QX6vVu+zNsM4r5e4F+NdT+baFZ12wDCBBIm9vdLicod0Qj eUxZCNXRj4IPFMC0Hwt6WdzVlN4hOgEHNPeKiFdAsyQKsqvCpq015K1mfmpQDpF+0XLF 3JPeJoG8j83Hj8SnnbaZwc+ky5/8sMmTu3rWIDbxIMid3UWspz3JBgggoeqoepwGImya cBpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z9si23628097pju.2.2019.07.28.13.31.35; Sun, 28 Jul 2019 13:31:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726370AbfG1UbA (ORCPT + 99 others); Sun, 28 Jul 2019 16:31:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50608 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726129AbfG1UbA (ORCPT ); Sun, 28 Jul 2019 16:31:00 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DA90D3B551; Sun, 28 Jul 2019 20:30:59 +0000 (UTC) Received: from treble (ovpn-120-102.rdu2.redhat.com [10.10.120.102]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0705C5D70D; Sun, 28 Jul 2019 20:30:55 +0000 (UTC) Date: Sun, 28 Jul 2019 15:30:53 -0500 From: Josh Poimboeuf To: Miroslav Benes Cc: Joe Lawrence , heiko.carstens@de.ibm.com, gor@linux.ibm.com, borntraeger@de.ibm.com, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, jikos@kernel.org, pmladek@suse.com, nstange@suse.de, live-patching@vger.kernel.org Subject: Re: [PATCH] s390/livepatch: Implement reliable stack tracing for the consistency model Message-ID: <20190728203053.q3pafkwnzm5j3ccs@treble> References: <20190710105918.22487-1-mbenes@suse.cz> <20190716184549.GA26084@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Sun, 28 Jul 2019 20:31:00 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 17, 2019 at 01:01:27PM +0200, Miroslav Benes wrote: > > On a related note, do you think it would be feasible to extend (in > > another patchset) the reliable stack unwinding code a bit so that we > > could feed it pre-baked stacks ... then we could verify that the code > > was finding interesting scenarios. That was a passing thought I had > > back when Nicolai and I were debugging the ppc64le exception frame > > marker bug, but didn't think it worth the time/effort at the time. > > That is an interesting thought. It would help the testing a lot. I will > make a note in my todo list. Another idea I had for reliable unwinder testing: add a CONFIG_RELIABLE_STACKTRACE_DEBUG option which does a periodic stack trace and warns if it doesn't reach the end. It could triggered from a periodic NMI, or from schedule(). -- Josh