Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5990139ybe; Tue, 10 Sep 2019 11:49:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBXecBGH5OqpK21RAt63WeHW9VLv8MbA7HMKDpgm5/8mrg3VhgA6TkUyy7yjeHWQ5N47Nj X-Received: by 2002:a17:907:1043:: with SMTP id oy3mr25508610ejb.21.1568141399181; Tue, 10 Sep 2019 11:49:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568141399; cv=none; d=google.com; s=arc-20160816; b=ROKR0CYr8hpo2J/neUUBvN1k2hkXzuFwCVLYGvmwuZEWAc0PTY54gJedhGw9VmQq6e Gp+3wffuiONLdwG7aHMSRjtjgW7yAq24LDJfyX87tF2WpRhY3qzkHvY+D8C6IQIYSrDG pv90EkQiRFpK9Fm36cnfUAzxL0ksrPGi+X84RPqtQBpHxcwQY0YvLethAHm3mlrIg7gA HmKl7nUwPgX8NkDjTx8oD2XUt4mgPB4JSIz1uboUlQJ5xnvbigeNLuQ07U1RMfKQhUYv bJ8tiirTJuw0RMXqCb52EuUiDABWgcXGDTrpEFEO1atpm0Y5Nckb/mWtzJDn3I4fhBzN GWfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=J4aIbTcgYnsL2jAn60izorNqL2E+CEoVtmdgC/gCJ2A=; b=xay9XcGid6d5rVWmdodnBnlp593uBHClux171K0UFgRvWvvUR1/44HlfHFh7vTy5aK V1WCf+MaitnWAW/2NBWGYDuWEVFrm1yXNVbF8s34jtjnphF4V02fhLFmVV/tbfDuKf6v cusqgV/fdbgciSPhvLISKr6xFk/2GvialeZNRChYg0AZydLRS0wp9TDQ/A3TNy56RqFz x8FLzqWp7CAD2K9b4GiX2jT3bpSbhZ3lBuqcn5YuN8WUjXBeSJBXDCbiWbZHobsozJQp 0Pp/yrjuP1S+cpSUcabJJbQrIVdMXwg8UGvb7j+5h6BN4t8oAKpvM3OvkiyR42NN5OcA c11w== 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 h24si11130889ejl.55.2019.09.10.11.49.34; Tue, 10 Sep 2019 11:49:59 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730794AbfIJHb1 (ORCPT + 99 others); Tue, 10 Sep 2019 03:31:27 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:42784 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726008AbfIJHb1 (ORCPT ); Tue, 10 Sep 2019 03:31:27 -0400 Received: by mail-qk1-f193.google.com with SMTP id f13so15970214qkm.9; Tue, 10 Sep 2019 00:31:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=J4aIbTcgYnsL2jAn60izorNqL2E+CEoVtmdgC/gCJ2A=; b=rA+YV42bahdlJ80KZYTG6Br/IowEbQmS5Ti/4npAstLMK+yviYQ3Bcgsz2fq/TGbHF duOfieiqXaTGK/YC7wEM4gL5Ut1F+JJLXs52bePD3n4DwilGs/viE8ttiv/u6yfyMhbw EocqobjA5Ha8Nz2wmUdnJgTK63rWAVTHOn32mldsL+EvLjzmbvuiPj09PK3usQHrQRmT 3DtD78DOZUrmTj5lW1I1iWt3yhF0SGgNcNJV8NyCSz4Dg2/Jt3ahMSivNgLJj4Y7jTr+ +MFWsPyxBUteSGgfjj0iw7OavAjdw0wZo9P4LiSNITPNtYEN3FeXJg8Ac9awCOkvYIV3 zvpg== X-Gm-Message-State: APjAAAVWDyJebX/TmJ1XHcnUIxtqbEOQXJ+KeokVomo0nL6OF9Jcdwxy 6487PwdIIbFFrZaumE168c6hrZQka8yHHtLSmRlR9Yp1 X-Received: by 2002:ae9:ef8c:: with SMTP id d134mr27834191qkg.286.1568100685778; Tue, 10 Sep 2019 00:31:25 -0700 (PDT) MIME-Version: 1.0 References: <20190909204201.931830-1-arnd@arndb.de> <20190910071030.GG2063@dhcp22.suse.cz> In-Reply-To: <20190910071030.GG2063@dhcp22.suse.cz> From: Arnd Bergmann Date: Tue, 10 Sep 2019 09:31:09 +0200 Message-ID: Subject: Re: [PATCH] mm: add dummy can_do_mlock() helper To: Michal Hocko Cc: Andrew Morton , Linux-MM , linux-rdma , Jason Gunthorpe , Bernard Metzler , "Matthew Wilcox (Oracle)" , "Kirill A. Shutemov" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 10, 2019 at 9:10 AM Michal Hocko wrote: > but IB on nonMMU? Whut? Is there any HW that actually supports this? > Just wondering... Probably not, but I can't think of a good reason to completely disable it in Kconfig. Almost everything can be built without MMU at the moment, but the subset of things that are actually useful is hard to know. Arnd