Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2498604pxa; Fri, 7 Aug 2020 12:38:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwghhmm59nwH5+Xpqxjjk3jaxAxQItUGQSZJAVzQL84E7mj8s9l9sUUiDBzHtRiw9dY66sX X-Received: by 2002:a17:906:d288:: with SMTP id ay8mr10682331ejb.373.1596829125517; Fri, 07 Aug 2020 12:38:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596829125; cv=none; d=google.com; s=arc-20160816; b=k/GXA24pxl0y3itBMjG9PAX5XsO8JgmYr1VcPCGBRdUZszLbArFy7PbMWIvTR8WC76 noMaOAI0sUpv6W5UDfJlQoUWriLx2ymkrhPAHFwko5VgMkmP/ApLigEfKisi9JKZ6x8H xAx/hTCFBfcXWrlpvofyqzdylFG5SzkmzNbzjOkTyuH/7v3iIwOVyA9XnN4bjXlksAva Xxiq01UyZrBf2CNVHtsOfillLoJcqROWqUi93GibhVhrPDzaWlubFK14mQ0MlyIHLhSB o+9t9VnKaZ9fVgz0CBo6yQwXzreRYEjm92FSJIHCNGIGd72UzxqNcu/fl3i/5nw+RY7m t24A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=t2izdhy9urvECJgu7c0L+DP8+hLwhvJe9LrSJI1uUoU=; b=nO4RObITngH0gdMqzDZ1xbmxUJjHxrxaVmQPgB90A03OBgkW7ESEP7/SdQu0ADH6hA o6DJJu2SByXmyreVO/opgpsDXcWMPUNsq/GUxMMR+QzLqmLFPUh+xb3Cu4I+V9QJF3qc DRJjMnEj3iwl23TPHoOQKkvJIhb/ds66s1OgHdn08HBZajMh244h3bRnuQmJ4xrjiIeF NJ9a+PTEBI9fb1CVX2f+JvgY2EsDV2ZXW3RlKr0aXtJpiRdyr3H291Guk0CH/tj70UnM aMyTCBZGZXqJLHiG1RpPCewmB19myXuSCyYl6o4eSUD2mGAyM0jNe9aMALKfyJvOThM8 eeHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=nEnfdelS; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si5677081edz.180.2020.08.07.12.38.22; Fri, 07 Aug 2020 12:38:45 -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=fail header.i=@infradead.org header.s=casper.20170209 header.b=nEnfdelS; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726393AbgHGTfW (ORCPT + 99 others); Fri, 7 Aug 2020 15:35:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbgHGTfW (ORCPT ); Fri, 7 Aug 2020 15:35:22 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38E5CC061756 for ; Fri, 7 Aug 2020 12:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=t2izdhy9urvECJgu7c0L+DP8+hLwhvJe9LrSJI1uUoU=; b=nEnfdelSe1G9Q+nx+YpNh0mw1/ +a4gGLD0aa9HwBzJxEjQA3qi4g3PXKSq79Y2zY7r0uTtXUyt2tr8itdma+mPNnJjLysKop3luLRvG +s7fjtFyK5BDV4QlN7hM/nOamL+SwvA0z5nuEEDEVkjWFjr9iEPhOAGmNcZDkABfyKoAlFsgnfKBI dcflAoOAEb0LQ5wMksJBIOfeRdBCdYEXiElhQbz8I5flB4ii8eeyt7t8c0xOeXGXxXRhYURPthiAf RSriqo9p5uWoZquYNMFKQWc4plLasbaF3PUqWR6M8S7fAD6PS3GH5YwF8HMfn+hn0rAXP3VhMVAj3 wjY/kmAg==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1k4890-0001tN-N2; Fri, 07 Aug 2020 19:35:10 +0000 Date: Fri, 7 Aug 2020 20:35:10 +0100 From: Matthew Wilcox To: Hugh Dickins Cc: Linus Torvalds , Oleg Nesterov , Michal Hocko , Linux-MM , LKML , Andrew Morton , Tim Chen , Michal Hocko , Greg KH Subject: Re: [RFC PATCH] mm: silence soft lockups from unlock_page Message-ID: <20200807193510.GG17456@casper.infradead.org> References: <20200725101445.GB3870@redhat.com> <20200806180024.GB17456@casper.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 07, 2020 at 11:41:09AM -0700, Hugh Dickins wrote: > My home testing was, effectively, on top of c6fe44d96fc1 (v5.8 plus > your two patches): I did not have in the io_uring changes from the > current tree. In glancing there, I noticed one new and one previous > instance of SetPageWaiters() *after* __add_wait_queue_entry_tail(): > are those correct? By the way, don't do any performance testing on current Linus tree. This commit: commit 37f4a24c2469a10a4c16c641671bd766e276cf9f (refs/bisect/bad) Author: Ming Lei Date: Tue Jun 30 22:03:57 2020 +0800 blk-mq: centralise related handling into blk_mq_get_driver_tag Move .nr_active update and request assignment into blk_mq_get_driver_tag(), all are good to do during getting driver tag. Meantime blk-flush related code is simplified and flush request needn't to update the request table manually any more. Signed-off-by: Ming Lei Cc: Christoph Hellwig Signed-off-by: Jens Axboe slows everything down, at least on my test qemu system. Seems like it's losing block queue tags.