Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5838144ybc; Wed, 27 Nov 2019 10:11:55 -0800 (PST) X-Google-Smtp-Source: APXvYqxSnidblZCnBfL8IwROcLe3SvDjfo08gMv6+6kCIc+SrSnpkWUxnD61bQTvlXK5cx4X26Pc X-Received: by 2002:a17:907:4300:: with SMTP id oa24mr50029553ejb.8.1574878315486; Wed, 27 Nov 2019 10:11:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574878315; cv=none; d=google.com; s=arc-20160816; b=iFK1Hyf36Cloz+fphh9b1nOWvYTHR32+69OUc0papCP/9hfGK3r6esnue113jX2pzf ERXyJg6Ny7LzNvL01HJm34ubBNBW7sCMLQRr/MEwipIZyF2vPwwA3tfQykZkAa346cnB cLVJZ04g90dRVEszQXl1hfHDMimadbuaYoIcQs3m99/6HncsQ4CPBT5C2JpkzupjTJrB lZo9fi2/APJZ+maExqB44h61NOG+y5I0bCcsWYhtBisoD9lo0rtAMC0uWWZ+s65861y3 Cc7MckVL6yqMGJKVk0YfsOoeLWLlY6RmOehRRrk/4Y5sr2v8ueOJdV6OumnChv84U1eB 2R8Q== 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; bh=XaNcptt5JOTBwtSroj+ydYGlh1N5E9Y6StuuTHLWEXM=; b=w3J8Bu+iNc6CVj70lA0aicsmVsCy6XEOqBhE/zCpAxcuAT774bzs3AOg1tjEGyMdhX cXuUbnK0Ucpq0X0B6uRZBr9wzbEmfS5Qer4hbqNvkkdjzRqPEyperyRwSI5Us/W4Rm56 LDOs3+xQyehKznXVuYPdaZMkXCU4iScMrSE8WSohiUOr+RiXukG7RCXlMsPOxnb3hf0X eL1nKHSwS0tjr3u1zQWOfSYr9Bc78/OUWfYKDFn+QO1fpAFKAbBMcEA/37CkJXphPh9P oONGDikYmjCFzPKtH9xb4edk5KAd1vaKIQDhnYgqox2e6QlUjzUR3EvSo2pVGDv/C5YF 7ReA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h13si3873925edv.249.2019.11.27.10.11.30; Wed, 27 Nov 2019 10:11:55 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727213AbfK0SHt (ORCPT + 99 others); Wed, 27 Nov 2019 13:07:49 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:42974 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726576AbfK0SHs (ORCPT ); Wed, 27 Nov 2019 13:07:48 -0500 Received: by mail-pj1-f65.google.com with SMTP id y21so10365048pjn.9; Wed, 27 Nov 2019 10:07:48 -0800 (PST) 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=XaNcptt5JOTBwtSroj+ydYGlh1N5E9Y6StuuTHLWEXM=; b=VTEiRg2St4Tt+V2M3hSqFcn0IYiqpCvoN9uD/5GYp6uejPJKf4EPB6PJ+unmz/Q12Q 1uHL+vfok43QhrONu/OuG5A+lme2iNOgisRt96yvK12FLHxXKnw+gSaepoD4bG8jL/VI j7im10/Wt8R0OcPrQ/v3oEiXEpL/OmSxjEkrNLHS+KuII0MEHGYGWRZHDsJvHr/orzoT siEOl/bn6d8DaZOO0BqNAd/tjKKh9EwZVqPOoZ8hAja/k0/940I5P4QGTurKBkUklTbG ErA1nwb6gIOODCHzdXLiYnrF9RJX58y9QklfbfBsj4/N2ma0zdaUM3FAJGlfnv5cQeMs 2sKQ== X-Gm-Message-State: APjAAAWPlK7pxOQ5vbejFDL/E6k1427+h7NOwo6sNJqz3fCtGUP0us7Y N+yBlKepCBQZhinJL1mUbGQ= X-Received: by 2002:a17:902:7485:: with SMTP id h5mr5458293pll.265.1574878068012; Wed, 27 Nov 2019 10:07:48 -0800 (PST) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:202:4308:52a3:24b6:2c60]) by smtp.gmail.com with ESMTPSA id z6sm7990456pjd.9.2019.11.27.10.07.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Nov 2019 10:07:46 -0800 (PST) Subject: Re: [PATCH] Add prctl support for controlling mem reclaim V4 To: Mike Christie , linux-api@vger.kernel.org, idryomov@gmail.com, mhocko@kernel.org, david@fromorbit.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, martin@urbackup.org, Damien.LeMoal@wdc.com Cc: Michal Hocko , Masato Suzuki References: <20191112001900.9206-1-mchristi@redhat.com> From: Bart Van Assche Message-ID: <24073284-ee53-d22d-dcef-277231283d75@acm.org> Date: Wed, 27 Nov 2019 10:07:45 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191112001900.9206-1-mchristi@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed 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 11/11/19 4:19 PM, Mike Christie wrote: > There are several storage drivers like dm-multipath, iscsi, tcmu-runner, > amd nbd that have userspace components that can run in the IO path. For > example, iscsi and nbd's userspace deamons may need to recreate a socket > and/or send IO on it, and dm-multipath's daemon multipathd may need to > send SG IO or read/write IO to figure out the state of paths and re-set > them up. Reviewed-by: Bart Van Assche