Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1463335imm; Thu, 12 Jul 2018 02:15:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpehdN6lU8ZTrk91kCxRQCOxd6AITksxMJF/gBTAxf1wR72dXy46zL4KpPg9GxRTQ/AJA7JI X-Received: by 2002:a65:538e:: with SMTP id x14-v6mr1333675pgq.388.1531386954172; Thu, 12 Jul 2018 02:15:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531386954; cv=none; d=google.com; s=arc-20160816; b=m2uRUG6QnhJBRIUX7oqrsgrOg2oGx3R/jpI5VJm03yWO+VVUhy2EyWp5vbfOYs7xr8 kaG7sHElJnshUWTHv1Kymw0+bR2hMvy2Ii8cq12htm57IRmX7iRd3esAQ8wBfypgjk+A VJwkgcncKQDsraDBDZ6PaBAbWSQgvLopC8pIgsQ7BwYe3Ky6G7WsNVrfTjoi5TGaD9pH LI1HlLZ6PgYe8KDjJcTfEot0NEMJDTIp/ihOsYVl7Tjw+awcbQRa7WuuTnoW135c443E Ig8Kate7FQ7vnIIQTzkpv2MqBXhyx7Zq1L0N57+LOQooK1dR2ZFezi2zeV32ncxcCKro alcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=4+NDGy+UpGBSzFktWVtCNqzq9Rfn4V9kUd9HQF25QYY=; b=kufr7VFfJsJ4Kek0hLCXYQYcGcIFsBSAx9EHpAzYyXc+h2VC9EVSdtY2PPF/llT3av 6HyCh1sh5zVEhKN+AhXlVRr/hwn3maHSxdeyJm9Qi3wz3u1nWxv3zAAeMe9lmn23BWcC cdnggkvlFpU1Ab93+7zJbckRInFRopLP4TvzsUVyAHN8PqKcCX1KR8jN8Kw/UyPwlwNV FzLjxDx0ISYePzSHC4bCkWPm7xdSvRxJKd9zq6cWWXD/p1JbdOF36bjNyrwWjXcuPb1i EdPntdmFBdHWgOvJDwbwAlGjhd6zD8aBCDsuL22mhAwQpjVDo/mJzktDshkKi40AM/LX Qchw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r63-v6si20909828plb.366.2018.07.12.02.15.37; Thu, 12 Jul 2018 02:15:54 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727057AbeGLJXp (ORCPT + 99 others); Thu, 12 Jul 2018 05:23:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:40806 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726582AbeGLJXo (ORCPT ); Thu, 12 Jul 2018 05:23:44 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 2E0F5ACFA; Thu, 12 Jul 2018 09:15:02 +0000 (UTC) Date: Thu, 12 Jul 2018 11:15:01 +0200 (CEST) From: Miroslav Benes To: Kamalesh Babulal cc: Josh Poimboeuf , Jiri Kosina , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] livepatch: Remove reliable stacktrace check in klp_try_switch_task() In-Reply-To: <1531382706-9732-1-git-send-email-kamalesh@linux.vnet.ibm.com> Message-ID: References: <1531382706-9732-1-git-send-email-kamalesh@linux.vnet.ibm.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 12 Jul 2018, Kamalesh Babulal wrote: > Support for immediate flag was removed by commit d0807da78e11 > ("livepatch: Remove immediate feature"). We bail out during > patch registration for architectures, those don't support > reliable stack trace. Remove the check in klp_try_switch_task(), > as its not required. > > Signed-off-by: Kamalesh Babulal Acked-by: Miroslav Benes M