Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp912463imu; Thu, 13 Dec 2018 06:32:35 -0800 (PST) X-Google-Smtp-Source: AFSGD/VfM+CVf8B+JXFgp2yX7wuVV4bAkdE09WWd+0UZR+9nilWI9gvZQ80tsxzwGfyoWDcSSQj/ X-Received: by 2002:a62:1e87:: with SMTP id e129mr24083684pfe.221.1544711555117; Thu, 13 Dec 2018 06:32:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544711555; cv=none; d=google.com; s=arc-20160816; b=TiqJEwjqefeNPC88wWBJ24hS2OLj8r7fq2C+vUtUownPPLOo8tE3DRz+393iMMV/99 f09ZDfNwL9V6YDC0I7hwtbiwsS5s1tjrOi6P5yOxJmo0Gcq85+0U5UKvqm0AaR3VswLK /8olMZepGTR37LP5+cOfiPevUx2frF+NPGWTE5+CwU3is8G4F9AyYGfE3rsF5xHdXGnX u0isP90384WPPaDYRjUXIpz81kuK681ZCA18n5xho4ZzwWnAk8d8dE02wMB/E1iquota jqHrLgzv0dfDO50rmzLSCYH2Uok/S6PHqYhX/KwNZkUK3bpL7wgL0bNC1XB35RTsEot6 yYHQ== 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:dkim-signature; bh=n3tEYLngJQGW/Br62ORZAnqAmJoq+vigQ+JjaGSGAn4=; b=c817eFnPgyc4GMRJsStDyDmB1prOL8akRcHAF4zUUC9aYY824wHlmiucO7pIaBoJlS YqA6HK7VN/GayNi7CijpWM8bqvaqTTKEgRba/ZrlZwR8RbVal7l+JnDkeRdYQRdPw123 iXGvrh/ozCKwAelL08ur4Xw2R0V8vIXHm/Hk62MR4XG6SbVnEwP5Hqlv9J3NaBK8MsVN 4zkyiizDiEvQsQSizsxMT94LFtXvH/qByig7aayiVsEobOPc0+IM/Fpgy93SfxM3Pfma Yg10r7xycHaqogz76fbrJ7RWMuuKAVD4U5LNDzWza06zIWL84GxUu1uaBswdGBeLf7CI JYmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FubIBwDF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b11si1673157pla.405.2018.12.13.06.32.19; Thu, 13 Dec 2018 06:32:35 -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; dkim=pass header.i=@kernel.org header.s=default header.b=FubIBwDF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728654AbeLMO3a (ORCPT + 99 others); Thu, 13 Dec 2018 09:29:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:33436 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728515AbeLMO33 (ORCPT ); Thu, 13 Dec 2018 09:29:29 -0500 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (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 1467320870; Thu, 13 Dec 2018 14:29:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544711368; bh=ULClFrvyo6tBm01xsIGQTLi6JacG1D/MvFgQdVS3rO4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FubIBwDFHU+vkaJpIw+yXWcU1YKtwrPeXSf/RM4Q3nUbsJz5+P2Qrn8vhZehvsl+S Im4qd7LAAZTR00VUpgCT01YmuE23p21C28uPkJdTbXPW0OtYn510E3+iQG0mLnhDKf h482z18Hd2puC57lv7IXZD/JlJcB6p5pS2mKOloo= Date: Thu, 13 Dec 2018 09:29:27 -0500 From: Sasha Levin To: Petr Mladek Cc: Daniel Wang , Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , stable@vger.kernel.org, Alexander.Levin@microsoft.com, Andrew Morton , byungchul.park@lge.com, dave.hansen@intel.com, hannes@cmpxchg.org, jack@suse.cz, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Mathieu Desnoyers , Mel Gorman , mhocko@kernel.org, pavel@ucw.cz, penguin-kernel@i-love.sakura.ne.jp, Peter Zijlstra , tj@kernel.org, Linus Torvalds , vbabka@suse.cz, Cong Wang , Peter Feiner Subject: Re: 4.14 backport request for dbdda842fe96f: "printk: Add console owner and waiter logic to load balance console writes" Message-ID: <20181213142927.GH2746@sasha-vm> References: <20181212174333.GC2746@sasha-vm> <20181212214337.GD2746@sasha-vm> <20181212215225.GE2746@sasha-vm> <20181213022703.GD4860@jagdpanzerIV> <20181213095931.24qovurhtpa3jxzl@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20181213095931.24qovurhtpa3jxzl@pathway.suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 13, 2018 at 10:59:31AM +0100, Petr Mladek wrote: >On Wed 2018-12-12 18:39:42, Daniel Wang wrote: >> > Additionally, for dbdda842fe96f to work as expected we really >> need fd5f7cde1b85d4c. Otherwise printk() can schedule under >> console_sem and console_owner, which will deactivate the "load >> balance" logic. >> >> It looks like fd5f7cde1b85d4c got into 4.14.82 that was released last month. >> >> On Wed, Dec 12, 2018 at 6:27 PM Sergey Senozhatsky >> wrote: >> > >> > On (12/12/18 16:40), Daniel Wang wrote: >> > > In case this was buried in previous messages, the commit I'd like to >> > > get backported to 4.14 is dbdda842fe96f: printk: Add console owner and >> > > waiter logic to load balance console writes. But another followup >> > > patch that fixes a bug in that patch is also required. That is >> > > c14376de3a1b: printk: Wake klogd when passing console_lock owner. >> > >> > Additionally, for dbdda842fe96f to work as expected we really >> > need fd5f7cde1b85d4c. Otherwise printk() can schedule under >> > console_sem and console_owner, which will deactivate the "load >> > balance" logic. > >To make it clear. Please, make sure that the following commits are >backported together: > >+ dbdda842fe96f8932ba ("printk: Add console owner and waiter > logic to load balance console writes") >+ c162d5b4338d72deed6 ("printk: Hide console waiter logic into > helpers") >+ fd5f7cde1b85d4c8e09 ("printk: Never set console_may_schedule > in console_trylock()") >+ c14376de3a1befa70d9 ("printk: Wake klogd when passing > console_lock owner") > > >I generated this list from git log using "Fixes:" tag. It seems >to mention all commits dicussed above. All 4 queued for 4.14, thank you. -- Thanks, Sasha