Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp836796imm; Fri, 22 Jun 2018 06:11:24 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLcTuKxw2gXDaXKJn6ogvSIo6C06BTZcdg1ravXbc9aCNXY6ch+lJgWS9Xa7N3GmFNZTY6O X-Received: by 2002:a17:902:bd05:: with SMTP id p5-v6mr1692635pls.32.1529673084568; Fri, 22 Jun 2018 06:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529673084; cv=none; d=google.com; s=arc-20160816; b=O/OnbnGVBWt/ehcdD4BsWyghERC4SeGHwUoQaVreZ6riYq12bUiYBK40h2l3de9oiS XGxiyxpcMVRT6NdrPig01yIchkhvGWdljqTl7FdujOcKZOP9y5ocRlYrwPol6FcPRpXU 6R40RyQLa1ruMNDZquetZ+Wn7CgxUBO8yMcQmKVuoHp7+y+1MTLkHv8BfouhRU6hbuEm y5RFjeLPgZ/JYaEY5FKlwTKzyHvkuZNXGDfTkpL5g0okgbgNWzxpkGJ06pioxDAAIWuH 2Md1p8rwG2TGEofnUHZzWvxOzN9reD0nBRcw2x4DPQddmOK4IH+w2oUn6QPGL3TQA4vo QT+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=/NiHlNjS63+nsnHjN2t4Ish624wpxIJhkVe77tAW6uk=; b=Q/I5qncrbqLqtjdSre6AZsOq7NuKyxeN0U6UsrLUq3PEfwd/5h8IY8yZwMcxmYjj3W dYtWTjtqc1GzO225yxy7CI3mI3caYll97qtYo11vRxvW+QwXCqqBI9jlkXg29+ft+bpq FhfjfF34ZlZFpYF8yMyWMK8FFLxqtcDRHYmdRe9P57UcH0UCKYxmchDTpjeXu/S6ggEU 5FSYuGSkscBWfpb1Ygn0uf0hBOGlhx1FbhGkHf4rEBZ4GOxVs41db5wW8Tm2YEU8FHYa 16EK1fOujoz1WgqXUXTO8mye+P714qoicGF4NLbYeJTgiOkUZ7K1JO6DZfHpWgbFFRFW NW/w== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8-v6si5989843pgs.145.2018.06.22.06.11.09; Fri, 22 Jun 2018 06:11:24 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754127AbeFVNKT (ORCPT + 99 others); Fri, 22 Jun 2018 09:10:19 -0400 Received: from mx2.suse.de ([195.135.220.15]:52042 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750999AbeFVNKP (ORCPT ); Fri, 22 Jun 2018 09:10:15 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 75E16ACF3; Fri, 22 Jun 2018 13:10:14 +0000 (UTC) Date: Fri, 22 Jun 2018 15:10:13 +0200 From: Michal Hocko To: Mikulas Patocka Cc: jing xia , Mike Snitzer , agk@redhat.com, dm-devel@redhat.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: dm bufio: Reduce dm_bufio_lock contention Message-ID: <20180622131013.GA10465@dhcp22.suse.cz> References: <20180615073201.GB24039@dhcp22.suse.cz> <20180615115547.GH24039@dhcp22.suse.cz> <20180615130925.GI24039@dhcp22.suse.cz> <20180619104312.GD13685@dhcp22.suse.cz> <20180622090151.GS10465@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 22-06-18 08:44:52, Mikulas Patocka wrote: > On Fri, 22 Jun 2018, Michal Hocko wrote: [...] > > Why? How are you going to audit all the callers that the behavior makes > > sense and moreover how are you going to ensure that future usage will > > still make sense. The more subtle side effects gfp flags have the harder > > they are to maintain. > > I did audit them - see the previous email in this thread: > https://www.redhat.com/archives/dm-devel/2018-June/thread.html I do not see any mention about throttling expectations for those users. You have focused only on the allocation failure fallback AFAIR -- Michal Hocko SUSE Labs