Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp162875pxb; Tue, 2 Feb 2021 01:50:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwid1/CKSFSRBpfEkVtvRkZDxyCyWJBM91qwZqPfDjEU1umTscktucEqnub8ML3NfbViXVu X-Received: by 2002:a17:906:cc5d:: with SMTP id mm29mr5362983ejb.183.1612259458096; Tue, 02 Feb 2021 01:50:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612259458; cv=none; d=google.com; s=arc-20160816; b=xg01mOGc3QgXvYZfRYjGNDwlisHeTUi3sdjySFoqN4J8M4u+NaDxIYfm8vIDatjQPj gMXRr4x1mdLFVKbj5Pg6Yxg8jV+pIfLRi0pYLGaSwZE29Ub1N0z8x8X8pqB48ddYQbk2 D3RQ8k0nesEqZeXVuPmuxfZnyYNsTd050zrZTKhBU8JANnRLUEWi2qoXopSYl2AoMSC2 jV8ERLbQWrPcrK656dzFNACVkujgn6z2+4tcb8QtYKNMaxhDP0n8LrOw097t5TN35caO llTC18r1lCt9GwCAPaBo917nQC8hmdzaM9Bo7+8OfzDE2pLHnAr572ChIzhrUZu/NAot NXVQ== 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=VLkAmkVZu+dsIUbEUs+/UPoodj7Ew0rSL0U0gP/5HOg=; b=OoQyGwhuJBbWIiMccr9KLgyN3dvLa69ogi/TkYT7rhg9rAkVXzn0JlXcI8/VxWIA/Y 3xe+s2a/KT6J/TcNENGgP+nXY99ai4TM4xxyWRSq+1ioawaEIJVAyHPZ0w/9EFrneOvA ajS6BskpVp4lFygFGEUXd6VOw0ruMpWMepEiWA0dTQfBx5x5McjNjZRHoOQj2ynZGOaf mws+8rIqEyLT4Me6Y4i0CAYWUvll0d99OjmRZeov7Ye8WWGORknEn722RHRQTG26oHCO yMl4fY5feF9rsavLgnvVKuk8L+jfsiCIZY/BueKbbfi0tko+fXL1tM1cr4/1+T9swgwu zwgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=hceuj3Po; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gx20si4394209ejb.599.2021.02.02.01.50.33; Tue, 02 Feb 2021 01:50:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=hceuj3Po; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229543AbhBBJrZ (ORCPT + 99 others); Tue, 2 Feb 2021 04:47:25 -0500 Received: from mx2.suse.de ([195.135.220.15]:38352 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230368AbhBBJqN (ORCPT ); Tue, 2 Feb 2021 04:46:13 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1612259126; h=from:from:reply-to: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=VLkAmkVZu+dsIUbEUs+/UPoodj7Ew0rSL0U0gP/5HOg=; b=hceuj3PoNYpVsY2pJPk16YyCR4HgxDmbdnE/2aG6uSRQsr5CaAgtw1EmCrh4aee83lKf34 zKi7NOMdgH84WRSo41luCPc8nV2xPF1UEP4qlKa4s9N5VSU8gem0RH3vAZBmgskszHb+QQ mezu5IDWpcQFERLAY1sxgBrMcXj/Y+4= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id EA417AE87; Tue, 2 Feb 2021 09:45:25 +0000 (UTC) Date: Tue, 2 Feb 2021 10:45:25 +0100 From: Petr Mladek To: John Ogness Cc: Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: [PATCH printk-rework 12/12] printk: kmsg_dump: remove _nolock() variants Message-ID: References: <20210126211551.26536-1-john.ogness@linutronix.de> <20210126211551.26536-13-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210126211551.26536-13-john.ogness@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2021-01-26 22:21:51, John Ogness wrote: > kmsg_dump_rewind() and kmsg_dump_get_line() are lockless, so there is > no need for _nolock() variants. Remove these functions and switch all > callers of the _nolock() variants. > > The functions without _nolock() were chosen because they are already > exported to kernel modules. > > Signed-off-by: John Ogness Makes perfect sense. Just please move the printk_safe enter/exit calls from the previous patch into this one. Of course, only if you still want to keep them for now. Reviewed-by: Petr Mladek Best Regards, Petr