Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1068879ybi; Sat, 8 Jun 2019 01:40:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/klvwMDqHCQ60a80HO/YYw5zb2DUF80m09cnpn6YbAKJYzPVbCAmSu5Viu5luXwtd4yym X-Received: by 2002:a65:6648:: with SMTP id z8mr6533392pgv.303.1559983256701; Sat, 08 Jun 2019 01:40:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559983256; cv=none; d=google.com; s=arc-20160816; b=tHvJ/8EJMCWd1wVz35sAERGV1PCNTPfUUo3mSb1Fk0HRYdXBQlNGfq/0zTqD7fMhl4 xNVov9qWZh7qxgSCTU+n4COVLwHs3aKAgjgO80MPpNeIxMblQHnW0Fn/EiIE3gFvC6l9 gicZXU6OEomCyAhUgDNYAWGhS3hPGA59u+uIwvtQzaAZX1qa34m14u+opEiWlnTE0qBO pJhmZTFiYVeQO1GKNx3j2cg0bv+vpynWYlItf4bpvDn/faMOJbsfyyLvY9JMQBEI7tHv uWFvauHID8u03Za7QuyoVTfAs6qOqVd6LARX0tT8EvsQplGsz0yq9TcRM8CGueR6HsoA 7iDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=J6Xt9h1a4Wghl2N6CbS4VR7OOrvB5+AthvQVEUPg01E=; b=aQCXartvDC4X2CA4/LuR9IISpaHAjqR+rUk1BhriLwG+8cE2iNoIeQylskvv2Zl9L7 p78DPwZx5HoHtfuKJHbH2iBE9X9lvPhGVpDuhI7IOAcGphZXO3nVomhEj9fnAuOQkflM eFYQGBepVht1+o4/dlXEXKffEAOw56FrxXdr6vNZuXLnxClkIeR+Dj3bKkMyRCmEGEs5 BXGtmqDV9kvPSHmt1buQK61+5QNv++OCZX4r18WgIUGl6kItfckqLZwUT3Z5l3cB9PJj kM2lQKnA1pcu2L76MBhAXPnaYTk/RvZYE8ZwzFxokQyd1nConCS87F6G4BgH+QJpx18/ uq0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=DjoWrOsW; 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 t9si4054073pjw.9.2019.06.08.01.40.40; Sat, 08 Jun 2019 01:40:56 -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=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=DjoWrOsW; 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 S1726490AbfFHIjh (ORCPT + 99 others); Sat, 8 Jun 2019 04:39:37 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41268 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726201AbfFHIjh (ORCPT ); Sat, 8 Jun 2019 04:39:37 -0400 Received: by mail-wr1-f67.google.com with SMTP id c2so4319790wrm.8 for ; Sat, 08 Jun 2019 01:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=J6Xt9h1a4Wghl2N6CbS4VR7OOrvB5+AthvQVEUPg01E=; b=DjoWrOsWVY/yC9JXffrTjpdqyGovJRi2Buug8N5SOGLhoS1LCUpAtYv9PesOQViJbC hOFboN/QlHdA/zBDZ80nYSDB5L4vTRpz9My5cgMRUI1xbL8rlAnhlS9+wX/Xa/skpfc1 sRDDD28K/u7NL3Lgi5PURTUxf9DEDl0Ue7zA1A4uo8ltMNIVodqzxbCPKoos8hZ7sr/n ZQMdlgNBVCx/hwuofBC3pv5Lt28pAjkUNVjrxxpHCX39a5ApT/I7pPF2mvmlqNV2LcR4 XZTxiN0oSjU10rLrPc4OXo7OBYSeEHsUET3Bhoa9EwAprRjWoEwejl+3bo41EqOBmxEz RGpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=J6Xt9h1a4Wghl2N6CbS4VR7OOrvB5+AthvQVEUPg01E=; b=lBM0cjM5hpBHNIYmCfGgbgBukXIr4PUaxCRhkYa4fjc248cvLFJI7KqHZKhG+V+EaH ktttIKhHu3XvL57Y2/xAMKn1gosymv95DECZYG2QXTCrLpSKNgOTNgmlX1/pD5H2+6mt DAHWhby6nclS1h54KvoIVzryoKTXSLZE9REkkytHO/r5bAiuqrBv0btzieNSSscDY55+ pfbVyr1T26Lp+S3EVZ73akZZ4koj6bmvNigfsH7dFe+4U+5097rDkALX2ugyKfAtK931 FZYNX+PBPMOnmXKYnonooF3A2WltnaEUiafGLP+Ijg6GhQlUCQrYyebeamSPZRDlv83G fysA== X-Gm-Message-State: APjAAAWIwCHPYmVaciRghVAVDElkSg1yIWxbfOFOEkq4OA/lTbpDPZaz /Rtn9dMKo49oMBP9VdeEvu/u+ziLbGXNfb4y X-Received: by 2002:adf:df91:: with SMTP id z17mr30066569wrl.336.1559983175080; Sat, 08 Jun 2019 01:39:35 -0700 (PDT) Received: from [10.97.4.179] (aputeaux-682-1-82-78.w90-86.abo.wanadoo.fr. [90.86.61.78]) by smtp.gmail.com with ESMTPSA id z6sm4787119wrw.2.2019.06.08.01.39.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jun 2019 01:39:34 -0700 (PDT) Subject: Re: [PATCH] block: fix a crash in do_task_dead() To: Peter Zijlstra Cc: Qian Cai , akpm@linux-foundation.org, hch@lst.de, oleg@redhat.com, gkohli@codeaurora.org, mingo@redhat.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <1559161526-618-1-git-send-email-cai@lca.pw> <20190530080358.GG2623@hirez.programming.kicks-ass.net> <82e88482-1b53-9423-baad-484312957e48@kernel.dk> <20190603123705.GB3419@hirez.programming.kicks-ass.net> <20190607133541.GJ3436@hirez.programming.kicks-ass.net> <20190607142332.GF3463@hirez.programming.kicks-ass.net> From: Jens Axboe Message-ID: Date: Sat, 8 Jun 2019 02:39:33 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190607142332.GF3463@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/7/19 8:23 AM, Peter Zijlstra wrote: > On Fri, Jun 07, 2019 at 03:35:41PM +0200, Peter Zijlstra wrote: >> On Wed, Jun 05, 2019 at 09:04:02AM -0600, Jens Axboe wrote: >>> How about the following plan - if folks are happy with this sched patch, >>> we can queue it up for 5.3. Once that is in, I'll kill the block change >>> that special cases the polled task wakeup. For 5.2, we go with Oleg's >>> patch for the swap case. >> >> OK, works for me. I'll go write a proper patch. > > I now have the below; I'll queue that after the long weekend and let > 0-day chew on it for a while and then push it out to tip or something. LGTM, thanks Peter! -- Jens Axboe