Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1184647imm; Fri, 22 Jun 2018 11:48:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIrBsw38Lbokf4gtcW8DYdBvbYQPE9uhhJsUfDOq3eGF5RIpmjnszvXIN7FpclRaIqpZ4Rs X-Received: by 2002:a65:4484:: with SMTP id l4-v6mr2425842pgq.378.1529693280800; Fri, 22 Jun 2018 11:48:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529693280; cv=none; d=google.com; s=arc-20160816; b=lVM27m3wxI5y+GVLGV1VS4cydtZgjW2zBHoosBVCxp17BPrlWu14yWVKmMebcYCsJt rkQTi8ugR7ILdqIg7Ohm6SK7mVHEhuz4fxh1Jz7C5gjMo+YfI7wnojt21QloJRQA+qXC XYO77yLl+f21P6dvLAfFsuVa7RqixX72FEP+5bjikWyxsNCUY35RXpaPLOkXwzTyv6Il AatO1lmb++oDUz0i8aFAnV7YcZaKYJZeY5LTJdOecIHiQiznh8/WwSt/HJs4r1GXcHrs 2LDQ/M5SXGR5X6YLMHvNWC3Izji6Cb57vB1v2Q9Nm/lLpMvHMJw6s5oxlwwamlSTbF3s qwig== 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 :arc-authentication-results; bh=Qci9G/IU7ed5LDuSihtOizMIJFrvFi+FXCi2LauFkf4=; b=zwj2dT/NaNmR0ZioOIZi4aFoMeJQLxcccfnhOyWm6Yu1Q+O3FFfLcON0uy/3Px/tvg sA4j2VGNBu4cEkOLsxIvfoSKN+SxWfWvFOx9kizB9R7da/PRAdFTuoeHSeYE6UKhEeTF BiM2FlrYr3iF5bmelVzSdnTZl44DqYfh7r4ER4rziToTY1Bl/tDM2KFgj3Fw+9RNmWwk 3vOiDL4OABeC+0Y9wBRZhFB5xx55xmrH/v1zXH4agjMbpXaKMnXJZ7IhIey2cF/ruV3a k3r2dxU1NwQH/fBFcrK2tXqc93aTUv78uDs27hqJtaIhFu7mX8CUqnW+OPUtwy4tR2Xr 021Q== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t82-v6si8265091pfi.221.2018.06.22.11.47.46; Fri, 22 Jun 2018 11:48:00 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934371AbeFVSrA (ORCPT + 99 others); Fri, 22 Jun 2018 14:47:00 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:33528 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933878AbeFVSq7 (ORCPT ); Fri, 22 Jun 2018 14:46:59 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6194E87AAC; Fri, 22 Jun 2018 18:46:59 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (file01.intranet.prod.int.rdu2.redhat.com [10.11.5.7]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 43D352026D6C; Fri, 22 Jun 2018 18:46:59 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (localhost [127.0.0.1]) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4) with ESMTP id w5MIkxMG015041; Fri, 22 Jun 2018 14:46:59 -0400 Received: from localhost (mpatocka@localhost) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4/Submit) with ESMTP id w5MIkwf7015037; Fri, 22 Jun 2018 14:46:58 -0400 X-Authentication-Warning: file01.intranet.prod.int.rdu2.redhat.com: mpatocka owned process doing -bs Date: Fri, 22 Jun 2018 14:46:58 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@file01.intranet.prod.int.rdu2.redhat.com To: Michal Hocko 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 In-Reply-To: <20180622131013.GA10465@dhcp22.suse.cz> Message-ID: 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> <20180622131013.GA10465@dhcp22.suse.cz> User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 22 Jun 2018 18:46:59 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 22 Jun 2018 18:46:59 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mpatocka@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 Jun 2018, Michal Hocko wrote: > 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 How should the callers be analyzed with respect to throttling? Mikulas