Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5419646ybp; Tue, 8 Oct 2019 02:33:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWtqnkPB48MU6FqET6gxn87z1QHPY+ZVLD9d8z1PMm0rbNuKC7TgNek2p1fDH126NzvTrO X-Received: by 2002:a50:b582:: with SMTP id a2mr33343348ede.98.1570527190448; Tue, 08 Oct 2019 02:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570527190; cv=none; d=google.com; s=arc-20160816; b=jHJ07DHm8rVcP0Lx1AT4O2h+knQKVYHBw/INgKwv5KGj2DP+VIw2gLLwenK0Krnbx7 5C+2nttUDyA6C5Wat+u9JfAPJT5g+qqImCL9QbYzSKyydNcSCsEMDMb4WDk0s7tOBq76 KllqXPPE0mTJUkUkQf93lWSS31CKpVOIrwy00skGKgZ7zoIcuSYCXVIN9Wm+zQVf2v0e V4mktrowRPxTwoAYvZAfx4g2HnyQ8BHl1o63dE/ASI+9Vvm5IrLGyfalbPlP97TedefJ z4pJqsOmIT3Q7RCy/0P5tNiOTbDAJgXyYNBu1kSsWVL6L9Szk98QXZg/48DkQPAQJIoq M+RQ== 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=EWJqqy29yofdCquZBPthLER+Jv293+BzSZVb1kweNlE=; b=R6J9gID7/z6XPq0NqgTL8y4qWqFWQNKhpgKw3+Lvy20NUdW9MpurxDt/MZBQFj94+4 4tesmQjG8ecFKaXHtTsHDxpP2nd0qr2KlXQhXjAHZz0Dt/9Jx+NgT7KMHa07Q4R/hdoZ RrlmX3+b0HLU3/4tZxo7PFMPqbtBadlCPgX2bIrNv7j+q0hpPjIZ7cXsTo+CJ2C4Q76N HVxFYfTA3nUOlAWE8aefIi8qJ92q//L4YvQk7kdL3yoJsbLGWAoa2oJJUbVvkJEgj6zi R1Xz0c2qAb43ksMdsTsaE8tZZsMYwfkL5Yy5ESz6QNUV0ypVVUvgrGYeF3PhIAy5RWRO Mdfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=IUn06mpS; 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 y26si9565444edv.134.2019.10.08.02.32.47; Tue, 08 Oct 2019 02:33:10 -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=IUn06mpS; 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 S1730051AbfJHJcS (ORCPT + 99 others); Tue, 8 Oct 2019 05:32:18 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:46262 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729375AbfJHJcR (ORCPT ); Tue, 8 Oct 2019 05:32:17 -0400 Received: by mail-qk1-f194.google.com with SMTP id 201so15955677qkd.13 for ; Tue, 08 Oct 2019 02:32:17 -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=EWJqqy29yofdCquZBPthLER+Jv293+BzSZVb1kweNlE=; b=IUn06mpS2xz7vLSozYS3LnEtGuT0KW+oZs4uibzwSg/3iNgPs9KOIeGn7NQK8fYDh7 BnHO22WND/EsUUAyk7hGQY0w92oRpeiX21uNyO0lCj/9StMJBNCkYum35KnmCUGPl5gt xi7jfmlpw9phFZyg4Ah8bxW2Krr53lopuINKHylwf2xNyN8HDTT2lRBX/X/S13MRbAe9 Cl+1RvM4DNB9xzTrxWo3TQfIQ9DF1JClzmwVETc/AjoAVqfW+NJS6oOqlL0Em4+qYYa7 a2g49hQs7d4DVeRcQDWXC4Kaq3wFRKZGIDtUhI5VKBqpLBc48MjwmdLwAP2t5Z6Kvu68 sf/g== 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=EWJqqy29yofdCquZBPthLER+Jv293+BzSZVb1kweNlE=; b=OejVP2ti8egDicdOYYhZdpmi9jEzbriINqPKoz7m/5Su8ICtXhH+TCXAi//7pV/fNl Va/K+NG4NcvVliEhz7lPKT5j+1/jduM61XIWz9ZGQWClHPiK6OKjhXg7i9RXaVKmBhyE iiQqN8brohJtvX1wwU0xMv8PuNn5THzMd0YjO8mxkKYVzJrLnV/y3EfZNOTnLbgJS9lR RfrzxtMkrygCq/Ta2/JL2SwM38AySypO61j8JKhx8bl+Nz1c5sh4HZ4XXZI9wGLZRleO OgbN5mRtauWXqxrtv+4xfQjMKohoRL7uTKxp8aXy4eSfDJdOAKJa5suqiHOWcYpfc4od 0eDw== X-Gm-Message-State: APjAAAVQxYj6ayfhhpJhiLjaQGF2OnxIYrMB0iuslUkfde9BZ8s5k9LN CDoT8MiYepGLAV/7ZDCHIcmsS/y2IZ0k7g== X-Received: by 2002:a37:b302:: with SMTP id c2mr28515793qkf.442.1570527136679; Tue, 08 Oct 2019 02:32:16 -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 d134sm8272302qkg.133.2019.10.08.02.32.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Oct 2019 02:32:15 -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 v2] mm/page_isolation: fix a deadlock with printk() Date: Tue, 8 Oct 2019 05:32:15 -0400 Message-Id: <43AC5AD1-377D-447C-A703-7F10423E6FA0@lca.pw> References: <20191008081510.ptwmb7zflqiup5py@pathway.suse.cz> Cc: Michal Hocko , sergey.senozhatsky.work@gmail.com, rostedt@goodmis.org, peterz@infradead.org, linux-mm@kvack.org, john.ogness@linutronix.de, akpm@linux-foundation.org, david@redhat.com, linux-kernel@vger.kernel.org In-Reply-To: <20191008081510.ptwmb7zflqiup5py@pathway.suse.cz> To: Petr Mladek 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 8, 2019, at 4:15 AM, Petr Mladek wrote: >=20 > I am curious about CPU2. Does scheduler need to allocate memory? It happens before with debug objects. It might not 100% necessary but it cou= ld easily end up with this way in the current code. Moreover, this is just a= n example of how things could go wrong as it could happen for pi_lock or any= other unknown downstream locks which are not really console related.=