Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2593043ybp; Sat, 5 Oct 2019 15:45:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8Pe9H890J4DWvIcqv3hMQk15Tq9LKaWSPMgMnkg195N8XtS+dCyZ3c5x0N/fKlbweX8Fu X-Received: by 2002:a17:906:e0d1:: with SMTP id gl17mr17344115ejb.99.1570315511999; Sat, 05 Oct 2019 15:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570315511; cv=none; d=google.com; s=arc-20160816; b=UiK5u5bfE9FLKSe9tEhXnYxWbJPiDSXQpzRat6Q8lEGYc4dZ/EsrN6d/v29qd+R7uM sRE/9sTZB0gMEOw5+ZMM7aphVdM75ubrzFFqNxg4JqGY4OSdlqM808DVDQ02gIDdPK3j OdAelxuqccLE6H6rl5sSSFKEAeLLOMCca7TNThvD9vZQVmnSsx/N4aaK9yMmZuqdIYJe noX8C6RUEUbE4jLTerTYE9XkMmj/QBfzpCjaISYx3u76NUpEz0rtXLp9rCm+s9GgOfxe qMdmVbygcNIeMJp17WlMFQgzhDimd2hqkW3NZ1XbpktRcQf34uvI+bept2C5YmxiZCLg qduA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=fHN77US4+VYq3DlO+1Rmg/MJTyEQKAjNoh7mf3T2cr8=; b=HpGSTghziY357a62qhds/AHg21a2yOlBn4YutysEggFfDBiRRjc3iWFF3NccYBx/DJ lBGkyBC0EFOYPLvr2/1sUW3olGqCyPo2TAqoIErhRbTllwv4OsycZRq9AGlBgQ0vcUPx QnIYSoRMRpDJR634ZrmFIU9IfXhfA7YUTOjjWUoqN9h0xyXoqkEz1ksO+QiUbTsze2Oh 1DiJBP4oFZGkYuG3G6nOd/8wUuol/FJ0dSCSG1totKZJesnPsVKRhvGuoKPQ+plR1LuC c1fvijDofxfBWytrkXHLxzApkrJt/2F1vE6eNcCjxiEcEL7ansn7vC2H2Cyread4MIqg 1DDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=rH94qsZQ; 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 g24si5143737ejo.355.2019.10.05.15.44.12; Sat, 05 Oct 2019 15:45:11 -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; dkim=pass header.i=@lca.pw header.s=google header.b=rH94qsZQ; 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 S1725947AbfJEWin (ORCPT + 99 others); Sat, 5 Oct 2019 18:38:43 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:44389 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725852AbfJEWin (ORCPT ); Sat, 5 Oct 2019 18:38:43 -0400 Received: by mail-qk1-f193.google.com with SMTP id u22so9223735qkk.11 for ; Sat, 05 Oct 2019 15:38:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=fHN77US4+VYq3DlO+1Rmg/MJTyEQKAjNoh7mf3T2cr8=; b=rH94qsZQ1zUlNvtB46B4Q/FapNdweQcvPLUIUVKG6PieN2mezMQyrlzf5a/xSCXTwm fuW+IzkO0srB5ezJHaBce8IpOf0tZbbhCE1ow+09DD6Emqt4R3D4F0m7Xx3ZkmGjktGE JBekY0SCekOGe+IVa6bLLxbOcHYarUsjHpwil+EIF8pCPazDT+QjP/9EJ9O3mvgZMnbY dpkNql9D/09g3+oozWMzGg26DOLVxrb+qnablc1YbP+MWmo4UHVcvO2EIMOXYOqWhxN9 HLj35qQ+AswkImVEfC5Hjmc8KevHEK5ZATy+6Xt0eIwH3qa0ChqmgYxD4HxtwqWZl/Km X+YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=fHN77US4+VYq3DlO+1Rmg/MJTyEQKAjNoh7mf3T2cr8=; b=V/fPlZSGkWVdkMwOKx9S78dKwcM80AsAzG/WSuZgiVGHfhp7V66/YtyafZmW0VmDAZ q1KbNHYmur/fTFWEE95Hx6/0E6oiTN3gULP4+lv0+NHz5SVsg2kXU23jfW02iJLGzXZ6 NjBdjsyrOFOG0y6QsDVV+i77hA8cHlspOgkzIIEpVtLfmPUIHpDpjwWh0Dyae0p2z+xW 5DvjKc8kOKUnq8s52XG8xtqe4zfCtv6dbzT7WRiqgg9wNX0vu4vEM785lB0ahpNj4Jp2 b/tn7jL0oh27Cyqfz1LwlrYKbtrTkA7qgFwI3y5FBwAKJbQldo/pwg09GGjj7+uwRwVw BEgg== X-Gm-Message-State: APjAAAU+mZmRyMsg0cjiF/mVtge6JNrVygv5cD5izalNxs7umY+T/lAZ nHFf5i2gLk7Asbgga7eW7LTAFA== X-Received: by 2002:a37:a946:: with SMTP id s67mr17630319qke.470.1570315120427; Sat, 05 Oct 2019 15:38:40 -0700 (PDT) Received: from [192.168.1.183] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id 199sm5505955qkk.112.2019.10.05.15.38.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 05 Oct 2019 15:38:39 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Qian Cai Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] mm/page_alloc: Add a reason for reserved pages in has_unmovable_pages() Date: Sat, 5 Oct 2019 18:38:38 -0400 Message-Id: <615D1FE9-C16A-4FD5-A113-1C50AB3F0222@lca.pw> References: <20191005142232.e08976cf8905824fad0533ff@linux-foundation.org> Cc: Michal Hocko , Anshuman Khandual , linux-mm@kvack.org, Vlastimil Babka , Oscar Salvador , Mel Gorman , Mike Rapoport , Dan Williams , Pavel Tatashin , linux-kernel@vger.kernel.org In-Reply-To: <20191005142232.e08976cf8905824fad0533ff@linux-foundation.org> To: Andrew Morton X-Mailer: iPhone Mail (17A860) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Oct 5, 2019, at 5:22 PM, Andrew Morton wrot= e: >=20 > Apparently some console drivers can do memory allocation on the printk() > path. >=20 > This behavior is daft, IMO. Have we identified which ones and looked > into fixing them? Not necessary that simple. It is more of 2+ CPUs required to trigger the dea= dlock. Please see my v2 patch I sent which has all the information. Especial= ly, the thread link included there which contains a few lockdep splat traces= and the s390 one in the patch description.=