Received: by 10.223.176.46 with SMTP id f43csp216544wra; Thu, 18 Jan 2018 16:22:39 -0800 (PST) X-Google-Smtp-Source: ACJfBovB82OlU/nDi4xlTDV4SFe9OkNqNACBxkDM/X7mC+C0deY20JwwRqDf64EFoMQQxE1K3Q2b X-Received: by 10.99.160.88 with SMTP id u24mr30053296pgn.122.1516321359642; Thu, 18 Jan 2018 16:22:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516321359; cv=none; d=google.com; s=arc-20160816; b=Q1DAHQppzJdgXCwo1z18UELy5dsOZZHLAnuV2ITDV6y4+0B9ZYptIog7mRv/wcW4N9 KH7JAglEXwf7oEQw7HhVdw+acNZTAX1M4StU08kTpr9WqkdVDKiQ0E/vi5a7Eo4wAfp3 EkKGz/Jux9rjxb2k5FCJD9nr7KPZoKKy5ZG/5YEE10qVpjiYhGgfb3p8WUJVyo1I9x2e eV0bOA7Q2zzZ6uCG/vBYUBnnPvkb2xFoYFQkJ5B25r9rwlNho5uZyH3Uj6oJelQu1IqX B0clfdiQGFoBKAw/2ppUilOCTylrU40G1xpqEpwRI3XNHEpQkwVqxoUn9wS/mIm9AFIx 2AZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=ZVPxUdCr5BW4TQCVW9np1fNuyNLdSA/FEIX0XbkMZSM=; b=plGPzhQxDVvmNgR2qFOHovoL1N3owjz985MmENmd2fPmfvdlMS2+beVfYJvQHRAOAF d9EAhwkuLB2+ZSXQU6VT67r4CHYBOfZOBVsjRtPkTi5Iqsdno9MrhFACgcr1pVg1HYg2 WO1xKO+dB2nBnfNmSnuw2VMLTr+r6GRss9qEygO/tDSKJLRFIbQ20uOrYX35jkjzOgHm 9q09BesDQ43TsBHgr6QqJhK/tRnZkmL3WB+8GXSVlhxd/ZnCRemmlccYTqyOEUx64JPl E4cdZNWe6vwamacbACObGGQK2jtzD9iolYouDghTblUhb5z7l6SXKcQayAhCk/YhabPX ouKw== 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 68si7905806pff.213.2018.01.18.16.22.24; Thu, 18 Jan 2018 16:22:39 -0800 (PST) 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 S1754935AbeASAUd (ORCPT + 99 others); Thu, 18 Jan 2018 19:20:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:41934 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750762AbeASAU1 (ORCPT ); Thu, 18 Jan 2018 19:20:27 -0500 Received: from gandalf.local.home (cpe-172-100-180-131.stny.res.rr.com [172.100.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4664E21456; Fri, 19 Jan 2018 00:20:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4664E21456 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Thu, 18 Jan 2018 19:20:23 -0500 From: Steven Rostedt To: Pavel Machek Cc: Petr Mladek , Sergey Senozhatsky , akpm@linux-foundation.org, linux-mm@kvack.org, Cong Wang , Dave Hansen , Johannes Weiner , Mel Gorman , Michal Hocko , Vlastimil Babka , Peter Zijlstra , Linus Torvalds , Jan Kara , Mathieu Desnoyers , Tetsuo Handa , rostedt@home.goodmis.org, Byungchul Park , Sergey Senozhatsky , Tejun Heo , linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 1/2] printk: Add console owner and waiter logic to load balance console writes Message-ID: <20180118192023.1c29abbb@gandalf.local.home> In-Reply-To: <20180118220323.GC17196@amd> References: <20180110132418.7080-1-pmladek@suse.com> <20180110132418.7080-2-pmladek@suse.com> <20180112115454.17c03c8f@gandalf.local.home> <20180118220323.GC17196@amd> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 18 Jan 2018 23:03:24 +0100 Pavel Machek wrote: > > To demonstrate the issue, this module has been shown to lock up a > > system with 4 CPUs and a slow console (like a serial console). It is > > also able to lock up a 8 CPU system with only a fast (VGA) console, by > > passing in "loops=100". The changes in this commit prevent this module > > from locking up the system. > > > > #include > > #include > > #include > > #include > > #include > > #include > > Programs in commit messages. Not preffered way to distribute code, I'd > say. What about putting it into kernel selftests directory or > something like that? It's not really a program, but a module. I could add a real module that can test this, and people can modprobe it if they want to make sure there's no regressions. I can send a patch. -- Steve