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=-6.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS 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 CE4A0FC6194 for ; Wed, 6 Nov 2019 22:43:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9CAEE2173E for ; Wed, 6 Nov 2019 22:43:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="H3vTwj18" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732666AbfKFWnw (ORCPT ); Wed, 6 Nov 2019 17:43:52 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:57445 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726779AbfKFWnv (ORCPT ); Wed, 6 Nov 2019 17:43:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573080230; 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: content-transfer-encoding:content-transfer-encoding; bh=lS+dCPRsw8mKe+le1Zkw7/5bXkrSkYDfn4dgVdUMQG4=; b=H3vTwj18JJ4H1WN02Q9JK3tdRvUfAtHh1ZsEMbNLAK7Tco56UI8KgBnMuquPSj+oR2GWFL tOdJGeI6O/ZRLK+1JwYPjAjbH5inLZ1ATcMUbZ5bhSXzJqouaTH8CJ4dLWtbE9a1K1sUF1 R20b10E64Za2eSwCoNKdo1X2AGoCJ9I= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-45--x2kj8y5M569zTGeJgJ96g-1; Wed, 06 Nov 2019 17:43:47 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CF84E8017DD; Wed, 6 Nov 2019 22:43:46 +0000 (UTC) Received: from jlaw-desktop.bos.redhat.com (dhcp-17-119.bos.redhat.com [10.18.17.119]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6275860BE0; Wed, 6 Nov 2019 22:43:46 +0000 (UTC) From: Joe Lawrence To: linux-kernel@vger.kernel.org, live-patching@vger.kernel.org Cc: Josh Poimboeuf Subject: [PATCH] x86/stacktrace: update kconfig help text for reliable unwinders Date: Wed, 6 Nov 2019 17:43:44 -0500 Message-Id: <20191106224344.8373-1-joe.lawrence@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: -x2kj8y5M569zTGeJgJ96g-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Sender: live-patching-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: live-patching@vger.kernel.org commit 6415b38bae26 ("x86/stacktrace: Enable HAVE_RELIABLE_STACKTRACE for the ORC unwinder") marked the ORC unwinder as a "reliable" unwinder. Update the help text to reflect that change: the frame pointer unwinder is no longer the only one that provides HAVE_RELIABLE_STACKTRACE. Signed-off-by: Joe Lawrence --- arch/x86/Kconfig.debug | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index bf9cd83de777..69cdf0558c13 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug @@ -316,10 +316,6 @@ config UNWINDER_FRAME_POINTER =09 unwinder, but the kernel text size will grow by ~3% and the kernel's =09 overall performance will degrade by roughly 5-10%. =20 -=09 This option is recommended if you want to use the livepatch -=09 consistency model, as this is currently the only way to get a -=09 reliable stack trace (CONFIG_HAVE_RELIABLE_STACKTRACE). - config UNWINDER_GUESS =09bool "Guess unwinder" =09depends on EXPERT @@ -333,6 +329,10 @@ config UNWINDER_GUESS =09 useful in many cases. Unlike the other unwinders, it has no runtime =09 overhead. =20 +=09 This option is not recommended if you want to use the livepatch +=09 consistency model, as this unwinder cannot guarantee reliable stack +=09 traces. + endchoice =20 config FRAME_POINTER --=20 2.21.0