Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8085335ybi; Thu, 6 Jun 2019 06:30:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqztMb3TOFZXyT/mIbbqfiHRv6io84lA9waVuxeCv9CfSPdydT4HmwCNvhjwxIvE87L5XgJT X-Received: by 2002:a17:902:b695:: with SMTP id c21mr49118275pls.160.1559827840399; Thu, 06 Jun 2019 06:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559827840; cv=none; d=google.com; s=arc-20160816; b=FnigS5M1EWwK4/gWIFBGsgYu+44NWFkYwDw+PHgWOPga0gLkwQnDOVmGMhJK02AvXI Owenzk3ab1eVyROney+GzLgM8OMUJsr21aHlgD/aDLULoQadPqjtz6hf4MO1gq48Dz6J 5gSPt6jSvrvor3H3RmYDCvkJ7CfVEu4SiHG9PMV1DRVXCCUwLXLwocrTqdUhqR4cWw42 /P4f6wZNpO/XJ1X9Pbo6hERyvY3VSrohwimrBa4GJlG2OxtQ6wn0nQC6Ni4r//vkbXy9 jCQYDagpW1y2xwsu1pkdyHDjG+KeuZIYkrCsaKaRZfIP7DeKEfCxIJzNb5wlrJU4qorp lFhA== 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=pS9jKw/NbA7nxBpGgkCPm6XOSaEcO9VlQPCj0lMX85o=; b=e8iRlT5OX60ksMf8xqgY5i4YqadHfsXbmiheyxy8o4RI31IZmWBzSeM6EID6CKkDdg o9Vsh1sv8FbJZjhX+PDjVmCfPBqB3hbqBNTEP9R0R/AnM3bkUJQoQsawTixN6FBPV7Qh PDZuy+J3mhkxrkry32wgkjCikRn0mjpGsOGFiT8o0anrOzFUKmhulEnO2dbaEUtfhDzv rDsSr91OTNuZBjnszaeL1X/ccm5yrBZb9S74ZF5LirrGO+KY2SIEK/rUPhiNcFswpZ+f 1Qx+I550SGjg7kC7vqAwX1lgQ/qC6BVUgfw3vgfVxSH1zRyLIiN1vQfm7DxBWVZBBP3t sSmA== 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 h1si2082396pgc.83.2019.06.06.06.30.22; Thu, 06 Jun 2019 06:30:40 -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 S1727978AbfFFN1q (ORCPT + 99 others); Thu, 6 Jun 2019 09:27:46 -0400 Received: from mx2.suse.de ([195.135.220.15]:35968 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726014AbfFFN1p (ORCPT ); Thu, 6 Jun 2019 09:27:45 -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 61DACAEB8; Thu, 6 Jun 2019 13:27:44 +0000 (UTC) Date: Thu, 6 Jun 2019 15:27:43 +0200 From: Petr Mladek To: Josh Poimboeuf Cc: Jiri Kosina , Miroslav Benes , Joe Lawrence , Kamalesh Babulal , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] livepatch: Use static buffer for debugging messages under rq lock Message-ID: <20190606132743.sy6viyd6mt7te6ar@pathway.suse.cz> References: <20190531074147.27616-1-pmladek@suse.com> <20190531074147.27616-4-pmladek@suse.com> <20190531193908.nltikmafed36iozh@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190531193908.nltikmafed36iozh@treble> User-Agent: NeoMutt/20170912 (1.9.0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 2019-05-31 14:39:08, Josh Poimboeuf wrote: > On Fri, May 31, 2019 at 09:41:47AM +0200, Petr Mladek wrote: > > The err_buf array uses 128 bytes of stack space. Move it off the stack > > by making it static. It's safe to use a shared buffer because > > klp_try_switch_task() is called under klp_mutex. > > > > Signed-off-by: Petr Mladek > > Acked-by: Miroslav Benes > > Reviewed-by: Kamalesh Babulal > > Acked-by: Josh Poimboeuf The patch is committed into for-5.3/core branch. Note that the branch is based on the last merge from livepatch.git. As a result, the sefttest fails because of the regression in the reliable stacktrace code. You might want to base your development on the for-next branch. Or you chould cherry pick the commit 7eaf51a2e094229b75cc0c31 ("[PATCH] stacktrace: Unbreak stack_trace_save_tsk_reliable()"). Best Regards, Petr PS: I am leaving the fate of the other two patches into Miroslav's hands ;-)