Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1714682ybh; Thu, 23 Jul 2020 16:15:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAzhICcgYALmvfZlWWQvmqrJLwX/5kE3q6B+OFJPw82ucGQ43oDc69Th5MOuYiWg+0Ifov X-Received: by 2002:a17:906:328d:: with SMTP id 13mr6756765ejw.71.1595546130696; Thu, 23 Jul 2020 16:15:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595546130; cv=none; d=google.com; s=arc-20160816; b=J39hBSbqih3CM0UFk124KoP0kLJ53MdWzffZ74VYqQDAVI+I53JaS63uW9XcDMeoY4 Vl20AZB/B86/pN5T+QRvd+LQavJqXtSEpzQMUce5tuAdYUHr3DHCJDfSGfm4mshyNoyI eA8nlnfPIPSniT/ftVt7lc/OtpeKt4dvq3kmIxIcc3vNt7e1vltVtkFI3u4+S4d9+7Rr jYtaHEfv477fNXACOzvCMaOokma5on/fbnm1j7HIB9LS0ujrL7J1ib5PJoM2Ag+R0IyN gfILujEh64t5mLUkYXkq5LUbiOB31L/O6p7xN/OatjS1aCGUK8MNhhSXRhLUKsOQPJdw 3m9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=VYyVyx7yovkjycsaTkx7hlbmqO5yCk7NHwwjU5rwd9Y=; b=LW0Hu0qucpAdabDorAAIkuwgMKa7r6pi7MrTc7+glvEtt8/0A3+rZwKINrvQkthwck B8u+u4lA4Z3SnFh4End8amkpoIM3S2yAuwQbzxkyb8gW2EftI8ExHK3KoCcJBoWfhGiD CRISL3DTMyPaSt/T1OqPChQpyJzaqXDME3ntmOXB0c6glM8oz6Letb+SVIgbgjMJq719 Vj0nDWJWiiP1KVHF85B40R4JxHPgQ9YLWpxxXwlKq6CBKlll7l3pQ4uMTqtr5J1Sz0BY u7HhHbHOo9O94p9OK6X3BQTVXkVhdpJiBzeXQwffr3BTjr+pHNIy3XREfdZWomIhMz7A 4GuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ehcBOTHT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id aq2si1928460ejc.297.2020.07.23.16.15.07; Thu, 23 Jul 2020 16:15:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ehcBOTHT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726861AbgGWXLn (ORCPT + 99 others); Thu, 23 Jul 2020 19:11:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726653AbgGWXLn (ORCPT ); Thu, 23 Jul 2020 19:11:43 -0400 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37179C0619D3 for ; Thu, 23 Jul 2020 16:11:43 -0700 (PDT) Received: by mail-oi1-x242.google.com with SMTP id k22so6544199oib.0 for ; Thu, 23 Jul 2020 16:11:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=VYyVyx7yovkjycsaTkx7hlbmqO5yCk7NHwwjU5rwd9Y=; b=ehcBOTHT4yiii4tgvJJfpHNVbsyQEcDBLieJjsvPHE09Jc0XpP7sGCrlPE+EmHdei0 YAIYQ9tYJGfRTDAdI6wowyl21gm6DyMbFi9BeQXsM4balelQ1Z553HjCkYSD9LrJQU8F GzbhlCoMvul+ak2MrFuFunDWo8vzv0Ym3rrk+IC/0Lc+zndqoUm/U00XFQppXO+vCxhy ajlGD7Z7E86P0ArbKEwl9wwLMGPm0MUfcieAbN2uBHz/2turwTEwaUAkDtVPHLFYUMWu IyrZ2ASZK/QSAV15vvQYCl0VolqqrpC9a0GucJ+Z8KyeHiDYzCJaO015LPM0B07/+Sxa lp/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=VYyVyx7yovkjycsaTkx7hlbmqO5yCk7NHwwjU5rwd9Y=; b=T+CfgTYZnslBCrxfolgk+82iZJSSoyBhoXRgrkT2f2XDPzrG0v4pmfjUvtb902TVG5 d3zltS9vQ0YeCyjI22STd2AukKwNZMHbDqAAExXiiHlAlmafGWAeSQ+tKYx2U1hXg/9z jO48BzyFghbBlsV4+ldNkmbpFGSf/L6TjlhsPJKD5tZdjeodFYpsFfh0fGK4L4m4vZp6 tFp5+q1U0OhTR+/MBwXlGCUDvky4jjGauRgQ4ltf5yb6DF2Ia7mdrSKUI4219F6lmuT1 i8ND80f8OeGxJajp7HhtBCvwh0lmjFq5sa3DDA9yE7z+dckZxXlbfriEyN9LtX5uFCH5 jnYw== X-Gm-Message-State: AOAM530+ow81snrjOCD2pjdgHHegHSfEJlp61WORze6pZj79ahfnG45P kxLNJTJ+afr0vleYIPWoINd9Kg== X-Received: by 2002:aca:dfc1:: with SMTP id w184mr439503oig.79.1595545902189; Thu, 23 Jul 2020 16:11:42 -0700 (PDT) Received: from eggly.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id m13sm925823otf.43.2020.07.23.16.11.39 (version=TLS1 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128); Thu, 23 Jul 2020 16:11:40 -0700 (PDT) Date: Thu, 23 Jul 2020 16:11:27 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Linus Torvalds cc: Oleg Nesterov , Hugh Dickins , Michal Hocko , Linux-MM , LKML , Andrew Morton , Tim Chen , Michal Hocko Subject: Re: [RFC PATCH] mm: silence soft lockups from unlock_page In-Reply-To: Message-ID: References: <20200721063258.17140-1-mhocko@kernel.org> <20200723124749.GA7428@redhat.com> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 23 Jul 2020, Linus Torvalds wrote: > > I'll send a new version after I actually test it. I'll give it a try when you're happy with it. I did try yesterday's with my swapping loads on home machines (3 of 4 survived 16 hours), and with some google stresstests on work machines (0 of 10 survived). I've not spent long analyzing the crashes, all of them in or below __wake_up_common() called from __wake_up_locked_key_bookmark(): sometimes gets to run the curr->func() and crashes on something inside there (often list_del's lib/list_debug.c:53!), sometimes cannot get that far. Looks like the wait queue entries on the list were not entirely safe with that patch. Hugh