Received: by 10.223.176.46 with SMTP id f43csp65952wra; Thu, 18 Jan 2018 14:04:33 -0800 (PST) X-Google-Smtp-Source: ACJfBoveR54N5gWROXEC82Re+L/ef9d0VGRRiAb20tEBhS6JWd8IvXnMiklFOxfGvNyMs2Y52S8n X-Received: by 10.99.95.195 with SMTP id t186mr34354819pgb.274.1516313073471; Thu, 18 Jan 2018 14:04:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516313073; cv=none; d=google.com; s=arc-20160816; b=VAXkoaQQ2sTMlFSiVOQ60jND7DCTr9KbHabO887HqOqds/TQtLrma8rm2rmV0jq0ed IR7NCaXu9DAEQULJ7QKv8xr0MOn1sqQdFIgNnfOX+gy/at6FB3+hlie6ye4apMo/pAAF 6q99Ue3J/KE66LizeCTHTMsZyJI9x/p1xuzQebOCecOwR7sgnKY8r4lj+mF2QLnvOGze wzt2DZk/rNZ6CGjaBx8t2LTy+22DBVo8UB7Kzfyr+xaTkU+d1kf0utTirrpgExz8j4N0 +m+EXS/UBuudtQJQ1lCh5tabV/Vp+Rw5QKy4SzElXvtN/HqSAhrszIPuHIOKkOBVbsiy 3JNQ== 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:arc-authentication-results; bh=3uS5v/tnD0bwB/MPeCXRrdOnxgn0F5003h3CaP1/J/E=; b=v1SKKXta5y6zhCjAW6Tv299wl39/G43hzKD+rCkT+DzXvb/ICkbB2WJTeGK6bEYvNl nhhI4EYmeJv8AOQICfCZYS0Qyk4KTQsSTLuwNNhP628+zmaM8iWkvbb4fOpvvfJpq9ta nGqRqcC4LEYCuc/3+j+Aj+yTBfruIzWcK5TbuU8r7OR0L/IFzVtVoRK4Ew5WLy1hkKNh pQcv94KD+v31FrIUWOf+iXvYa2zfVeXFeSNCTnDJQ4lZAs6teHS7ZeRZGbHv0lbBnZxD F+WtKjJFKbY1jxPs646SGHD17S0xKbUVkVo+rLRjV8ldD49BxQT4KAizQeR487BcyyLE aEBg== 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 n10si5905094pgs.314.2018.01.18.14.04.14; Thu, 18 Jan 2018 14:04:33 -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 S932182AbeARWDc (ORCPT + 99 others); Thu, 18 Jan 2018 17:03:32 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:37264 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752705AbeARWD0 (ORCPT ); Thu, 18 Jan 2018 17:03:26 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 9FF8D80186; Thu, 18 Jan 2018 23:03:24 +0100 (CET) Date: Thu, 18 Jan 2018 23:03:24 +0100 From: Pavel Machek To: Steven Rostedt 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: <20180118220323.GC17196@amd> References: <20180110132418.7080-1-pmladek@suse.com> <20180110132418.7080-2-pmladek@suse.com> <20180112115454.17c03c8f@gandalf.local.home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0vzXIDBeUiKkjNJl" Content-Disposition: inline In-Reply-To: <20180112115454.17c03c8f@gandalf.local.home> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0vzXIDBeUiKkjNJl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > By other words, this deadlock was there even before. Such > > deadlocks are prevented by using printk_deferred() in > > the sections guarded by the lock A. >=20 > Petr, >=20 > Please add this here: >=20 > =3D=3D=3D=3D >=20 > 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=3D100". The changes in this commit prevent this module > from locking up the system. >=20 > #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? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --0vzXIDBeUiKkjNJl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlphGasACgkQMOfwapXb+vLGWgCguDUXPlJK0TKjbQ47MUhvfKzb dB4AoKe/lH5K/FrGw3K3FS0jUtit0GxQ =jEBq -----END PGP SIGNATURE----- --0vzXIDBeUiKkjNJl--