Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3495791pxf; Mon, 22 Mar 2021 07:46:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzYRyFsP3s5HiSKg6q1VCrcRrBJMfVbwB/r/3be7naDp2TL4KW7D5HLZV2hjRsyLcK2g3d X-Received: by 2002:a17:906:26c9:: with SMTP id u9mr101052ejc.520.1616424368223; Mon, 22 Mar 2021 07:46:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616424368; cv=none; d=google.com; s=arc-20160816; b=xCndhpC0xD7bLpqL+aqZ7HZOkMHDvaP7g7forRrKsuHSKd0SFTq7JSK1em7UtobAxV FWKVL8NnOY6b76Aq+in3BCXguJbiBhLfYSkkm2akqfoPWcyiG5nxEtVIvJQg6npvYzAC 3d+9DK/I8ecxAeSDv8liP+3q1zMyBWDDNZXwDT2EGL19OwzZ9rGhlQmIIsKnGrcbUYdL hZ6jdjhM3QfwYFPRuhlA/+FwvBuR7+A9CSvNnD95sihCklqpLF0TXxtGb3ZC10KGL8OE B/4p0Kx5tZo9MhBN9P8znvDmJ1Uh3YSyTenyqlG/K/f98AyJGF098M5A7rQAam30powW jalw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=zI0qMXNSeXWkmjLx/rxCTs/IrQfMrB84lSC45WohEb8=; b=WwmqqUqA4oXqb7uCqoRcmYIet4F6FGfd9PymJfBYXOwrUze6xzTrl67AVvO9+5FkRo P0lNYuJzvVlElClNNt3/X3lTFIQtGggkBUNuv8edTSU2l3JX7DF7Qln3WKrFkp8HVZDL 11Dio6FDpZX+jFfgNKqRSrSsigH66G9jBmiLduhFYX7jRdIe/99JM435WtXYE5IrEHVK pV52pj5QuML8NqeSQFYKSoqFIj6j+c7PMdAoxURyin6J9l0eBdF40J7bVbrCIbW1EHrc I4k/KAd0Zx62dBv9EzIKAad7Q+JjqCO4+IoakX5NZz+Xt9JIVKuCSjSJjsb7nHH184Oc b7KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NySQEmQr; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a22si10963866edv.24.2021.03.22.07.45.46; Mon, 22 Mar 2021 07:46:08 -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=pass header.i=@gmail.com header.s=20161025 header.b=NySQEmQr; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230100AbhCVOom (ORCPT + 99 others); Mon, 22 Mar 2021 10:44:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbhCVOoE (ORCPT ); Mon, 22 Mar 2021 10:44:04 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FE33C061574; Mon, 22 Mar 2021 07:44:03 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id i26so5848779lfl.1; Mon, 22 Mar 2021 07:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=zI0qMXNSeXWkmjLx/rxCTs/IrQfMrB84lSC45WohEb8=; b=NySQEmQrIYpVG8gZNVHI3CiB/LYRUq/j8d2JALKnJeonlnt7lcmfMUIyIATzNJcA7f UB1avLvIgVeKONz/Rixb5wh6B2NKqnLLEXmt/cGnAuL5EVT5dlc8hNMXZLCAWsBiDIFm MPAWxXiHDIFJwO9jEAMvsTiVQgSLnRnasdCvrJe/WKG90OqoUqPSUczbv69B1RPjnRha hx6Bs/PP2zkB3qEf6BKSrALmVvYmWdlJa1aW/boTGtFHSGEkFgfRJxpaY5z+7xkrPTBY vdzzVxqef/hI9b73tdbhPSu8ek0zFLYHAPjpniXsclLfX8rjB8QTfGvDnc8mxOy/13Nr 2YbA== 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=zI0qMXNSeXWkmjLx/rxCTs/IrQfMrB84lSC45WohEb8=; b=kcV3ZOJE8fl401K/UBpGyNnz7X9BQ3oHAzgBkioiGJhAsnJNa8H6DJ8E6eHGN3yFTZ w5UYbD86jb2jvOvgc3KGPaOf382Y7R7IcBN90OCRhUHXRg24mMIUZFwuzHOy/Ms2fumi fexCdf8774kDIzSZU8eNFIEgfFlzhZnvcD2JwE3edzeUYZo+HiSclOolT/q2cjMPsFHs 0ViOxbN2+7TYLLsFd0DKXI0Ron0lu+A0qT2ZDsI+eTdrxAHvKAx4INDQztum6ntd2ZcZ zRjcjWXn5Z734mM8xHx0eo+52VYVjobTF5z9udZ62c1rJHfrSI8QeosVtiCecZLPax99 yBjw== X-Gm-Message-State: AOAM530NNxyXbCcWbAvv5HKdxiuVnzFJQFTzLA258fOTemyHY/4aeH4E BhWslZbE3c3yDe08rQJLob7fmWEolys= X-Received: by 2002:ac2:5449:: with SMTP id d9mr8856236lfn.172.1616424241809; Mon, 22 Mar 2021 07:44:01 -0700 (PDT) Received: from [192.168.2.145] (109-252-193-47.dynamic.spd-mgts.ru. [109.252.193.47]) by smtp.googlemail.com with ESMTPSA id v6sm648251lft.167.2021.03.22.07.44.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Mar 2021 07:44:00 -0700 (PDT) Subject: Re: [PATCH v4] mm: cma: support sysfs To: Greg Kroah-Hartman Cc: Minchan Kim , Andrew Morton , linux-mm , LKML , joaodias@google.com, willy@infradead.org, david@redhat.com, surenb@google.com, John Hubbard , Nicolas Chauvet , "linux-tegra@vger.kernel.org" References: <78883205-e6da-5bc4-dcec-b6eb921567b1@gmail.com> <72db59eb-75dc-d1ed-7a83-17052e8f22a8@gmail.com> <071c6681-f492-2c94-5686-30c30778f39d@gmail.com> <007c0317-8819-a6b8-fdff-c0b5899c4f51@gmail.com> From: Dmitry Osipenko Message-ID: Date: Mon, 22 Mar 2021 17:44:00 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 20.03.2021 10:52, Greg Kroah-Hartman пишет: .. >> I found the Greg's original argument and not sure that it's really >> worthwhile to worry about the copycats since this is not a driver's code.. >> >> Maybe we could just add a clarifying comment for the kobj, telling why >> it's okay for CMA. Greg, doesn't it sound like a good compromise to you? > > Please no. > In the case of a static objects, like CMA, this creates more bad than good, IMO. Even experienced developers are getting confused. In the end it's up to you guys to decide what to choose, either way will work.