Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2596405pxj; Mon, 14 Jun 2021 02:34:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9X2+qFrGhGNTAFHNXLk5h/TiB+GOfsW86zjkz8taLvSpgh2Fg5LTYQoXyrBi9OJZ9bBq8 X-Received: by 2002:a17:906:5293:: with SMTP id c19mr14139675ejm.245.1623663285462; Mon, 14 Jun 2021 02:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623663285; cv=none; d=google.com; s=arc-20160816; b=Hq55yFzOK5xG6G8fXKCclqK6kyHCq11O6P+C9T+kW/VRi5ZSwkMEMoO2mb6VvdqHyf 3KONuzGoTH/Y6tI10JgErMGpj6mvdq6LcVdHDVxupMyZ25t19YCHSDEKIbcFpvk/Ajf8 NGzYn41TQm/YZ/ha43NF6H1z9JVcz0DF+pAzo/ef3X3DpAe21kCwNgcs3YeXpKGRGj7S GMncGR2XREjKGvsj1Mz5fDiCtju+fWnbjiJ4FdBaTjaYEEJxHewQxJpdfe/hrr/aCF+l SvEV65KNr7cr0fWc4FOhTLHaG00KZot4IQ23BJem23b8pMg9l6VcaXP6OIqpsMedmeM2 O4yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:subject :references:cc:to:dkim-signature; bh=dIhrAnH9FPYcbc8v2HeH9/J0qmUD70Of8p6cMMcu+c0=; b=bLSY/EfSDNosi+ogl5aLWaw1CNHY2L24cPMtS2VnLsnm17QUEJqn7xqBatMDVhMY/Z XQ+O+xpFVXUd1fwBTeiuwfn+jEy0mCupkJzEgzgcbCiRJ190Vw+b+F1qZZjtdq7c4Vjc MocD1Vy4yanyj6V0F7Bhe7R9qIn5CaVVqkGK8w3ZMdVRQNdtBvEZv5Zz54AZXARi3bbH B5qvrO+JO1ecaL5kqVWcZxDX/DZfNy9A/9Fwh+gRXsoAkTp0SIC31iK6puKidt5iBSgQ gopw8Yt3oPXThQ76AM8qJ9tgG/SLWmDTUwJsy096l0kec58mV+8EiVtUftiMyT5a2pJa 0xMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=VvnRSB56; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 13si7540508ejj.226.2021.06.14.02.34.21; Mon, 14 Jun 2021 02:34:45 -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=@amazon.com header.s=amazon201209 header.b=VvnRSB56; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232701AbhFNJcr (ORCPT + 99 others); Mon, 14 Jun 2021 05:32:47 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:24875 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232528AbhFNJcr (ORCPT ); Mon, 14 Jun 2021 05:32:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1623663046; x=1655199046; h=to:cc:references:subject:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=dIhrAnH9FPYcbc8v2HeH9/J0qmUD70Of8p6cMMcu+c0=; b=VvnRSB56ApRqYP44CDiOVN4p7QVtLpAQgNwS2YuI8/5vGejzoMmw6mby MmrB9ZnPhj3cOKfatrxTcjDEvqNjLOe1jWCuOjZhq8ImJhEptJg5/2m6F fxCQjKE0YEf/g0EMDO6eHzSQRb0BklWna9f/lZCwTFGQORTw99RQCYVMC I=; X-IronPort-AV: E=Sophos;i="5.83,273,1616457600"; d="scan'208";a="115620062" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2c-4e7c8266.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-2101.iad2.amazon.com with ESMTP; 14 Jun 2021 09:30:34 +0000 Received: from EX13D31EUA001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-2c-4e7c8266.us-west-2.amazon.com (Postfix) with ESMTPS id D89FFA175D; Mon, 14 Jun 2021 09:30:31 +0000 (UTC) Received: from EX13MTAUEB002.ant.amazon.com (10.43.60.12) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 14 Jun 2021 09:30:30 +0000 Received: from u898248c994d452.ant.amazon.com (10.50.205.34) by mail-relay.amazon.com (10.43.60.234) with Microsoft SMTP Server (TLS) id 15.0.1497.18 via Frontend Transport; Mon, 14 Jun 2021 09:30:14 +0000 To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <20210520075629.4332-10-sj38.park@gmail.com> Subject: Re: [PATCH v29 09/13] mm/damon/dbgfs: Support multiple contexts From: Message-ID: <98a75d0c-2d1a-807e-050b-fb8e7d92f447@amazon.com> Date: Mon, 14 Jun 2021 11:30:12 +0200 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: <20210520075629.4332-10-sj38.park@gmail.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +    new_dir = debugfs_create_dir(name, root); +    dbgfs_dirs[dbgfs_nr_ctxs] = new_dir; debugfs_create_dir might return ERR_PTR, should this be checked?