Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1143376pxb; Wed, 10 Feb 2021 00:45:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxG8LJ2YGUGdQCu3VvJ6UisZO2oj5Pta5k7FNbEyLh1RdBP4WRH/3bd7aLpHwYPAX2e5Qce X-Received: by 2002:a05:6402:1109:: with SMTP id u9mr2150784edv.385.1612946745225; Wed, 10 Feb 2021 00:45:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612946745; cv=none; d=google.com; s=arc-20160816; b=F7V64CVxe3fV2HFuRzkDKVUeJ424+dinbrHxQU7EaSECjlofM/iT8bKml+vkoyP8mK HlNiQ27bi7jiKh78KGENE8fe0gb4XR6v+f0Hsv2LtdMgR+/djv/2WMNG7rHyqy6ZHKq0 z0UmWXb522HvYUQAh7xC2j5aQOiLNDXYrDNEf0wFyMJWVRBdnq4c0VZXC4N0WCoOdWvy +PpEBaHvBAqcm1+S1mLMr9Q/FF77e6ck7l2JI9hcE6Iwh5u7dN+LtuiE1S9p8PTl0A2l jZngG5heyNukZqB8VDJWZNJIDKgqMlSGSaDVBZZ4N6pGJUWy0wEe93qyuE/oL3T795/T uJiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=iNqKH1Wegy4bMKSeTt/OdLSXygaDObEBfKoj2FFuyeQ=; b=0ucfIKFw1nvBDi97ALuArRh7UTW8G39rM6qMQdVbylnBn+FZn7a5fxgASUzJqRwEg8 5o9DsJ1bDLsxcjD5L81qdEkKXbvgYcJg7PsWjzoCytHxwFqOV2BTVaPp5kLk/cM6XMfl kxT9wRZf0gU5jiRBtuZCxUBv+s+iObH53uU50Cn9Sx3M/TmNNSRPV0TZId4C0NwM+dKS BsHNCfGPPnPu910Twp4GQe1eXMYn0vV7BbZ2XlOaT2DTOMNrKUm4zelhHkOL3d268a5X Zp/T25NgLcwdkfhI0S2d/33UmRgACaGUxjJDdumFsGTvyb+Xbq0H+Cs5u174b+/x+0bN gouA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=TG95RuDP; 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=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t1si908415ejd.359.2021.02.10.00.45.14; Wed, 10 Feb 2021 00:45:45 -0800 (PST) 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=@nvidia.com header.s=n1 header.b=TG95RuDP; 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=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233120AbhBJHwg (ORCPT + 99 others); Wed, 10 Feb 2021 02:52:36 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:18963 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233016AbhBJHv1 (ORCPT ); Wed, 10 Feb 2021 02:51:27 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Tue, 09 Feb 2021 23:50:44 -0800 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 10 Feb 2021 07:50:44 +0000 Received: from [10.2.50.67] (172.20.145.6) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 10 Feb 2021 07:50:44 +0000 Subject: Re: [PATCH v2] mm: cma: support sysfs To: Greg KH CC: Minchan Kim , Andrew Morton , linux-mm , LKML , , , References: <7cc229f4-609c-71dd-9361-063ef1bf7c73@nvidia.com> <09e60732-6a46-dd00-f9d5-4ef17ee685c8@nvidia.com> From: John Hubbard Message-ID: <2abc0258-d71a-56f2-3682-cc178f3ce4c4@nvidia.com> Date: Tue, 9 Feb 2021 23:50:43 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Thunderbird/85.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To DRHQMAIL107.nvidia.com (10.27.9.16) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1612943444; bh=iNqKH1Wegy4bMKSeTt/OdLSXygaDObEBfKoj2FFuyeQ=; h=Subject:To:CC:References:From:Message-ID:Date:User-Agent: MIME-Version:In-Reply-To:Content-Type:Content-Language: Content-Transfer-Encoding:X-Originating-IP:X-ClientProxiedBy; b=TG95RuDP7QHPJKOOXQN8PEWJs/F8BoQ7P41GOaT3m7QGHMVwNv7RHUzeQg6U7vWlN SIEDB66Amt+58PB1nQNhsztX+MSYfK87kPEr1R2VnFSDB/eq7u+wkCHuLw+lMkGFR2 RbFY4APtQWV0HZV7A9kUH8TQ59VF7ePzOzVYRAN2zKoKZEyNbJkpwktrbn6xydK4RM wf07embo/TouTNkxvpxH71LbyPQMAldhVi88rbCVZgTgf3siqrl5YCo0bA5JsPse22 u7dJvh2luPxgiSUKxn5THcgi10yUf3vPnwYVwryEEjnWoh9F4sHr96GIVQ5JvH+1j1 xqgNzglWUw7Dw== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/9/21 11:26 PM, Greg KH wrote: ... >> I just am not especially happy about the inability to do natural, efficient >> things here, such as use a statically allocated set of things with sysfs. And >> I remain convinced that the above is not "improper"; it's a reasonable >> step, given the limitations of the current sysfs design. I just wanted to say >> that out loud, as my proposal sinks to the bottom of the trench here. haha :) > > What is "odd" is that you are creating an object in the kernel that you > _never_ free. That's not normal at all in the kernel, and so, your wish > to have a kobject that you never free represent this object also is not > normal :) > OK, thanks for taking the time to explain that, much appreciated! thanks, -- John Hubbard NVIDIA