Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 245F8C433DB for ; Sun, 7 Feb 2021 08:59:43 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 63EFA64DEC for ; Sun, 7 Feb 2021 08:59:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63EFA64DEC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2370A6E5A4; Sun, 7 Feb 2021 08:59:37 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 12BCE6E243 for ; Sun, 7 Feb 2021 02:41:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=N73MTwcssypfrmFlVJ2hO+B9Wsxa4vWw1VGEiG1ORVM=; b=oIoT2gnolHCgX42gEbM4LpAIDI QAjHn7JbZRV7px5l14OAo2mlgqqx+C/NwlEEyDWTY4W78rAFairPS3Atbm5dX483pt37lcZBRTe5a UOy7jL43EIpXSWiAhiHlsD8/lAnwDPENtSPJQDBEJSscWvv/evD4P6QwPneyQdAuVcPnFgUqKhMED An9uezcE+hBQX4vD0VmQokAZOwxzPkPUs+pcTPYVBrFXKRmFjbIuDw3Nktb+8grYN8bh/r245liS4 Q5+gqqHSMwTzNO9brcyll3qA/2Y74vNwG5nNGYDgJ3f6xWyulO120yH9+zAqYvIUeI4avWFbt3EZ7 zwrBQFCA==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l8Zzy-004Izk-K6; Sun, 07 Feb 2021 02:40:40 +0000 Date: Sun, 7 Feb 2021 02:40:30 +0000 From: Matthew Wilcox To: Kalesh Singh Subject: Re: [PATCH v3 2/2] dmabuf: Add dmabuf inode number to /proc/*/fdinfo Message-ID: <20210207024030.GK308988@casper.infradead.org> References: <20210205022328.481524-1-kaleshsingh@google.com> <20210205022328.481524-2-kaleshsingh@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210205022328.481524-2-kaleshsingh@google.com> X-Mailman-Approved-At: Sun, 07 Feb 2021 08:59:35 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: no To-header on input <>, Michal Hocko , Anand K Mistry , linux-doc@vger.kernel.org, NeilBrown , dri-devel@lists.freedesktop.org, Andrei Vagin , Christian Brauner , Michel Lespinasse , Jonathan Corbet , Mauro Carvalho Chehab , jeffv@google.com, kernel-team@android.com, Alexey Dobriyan , linux-media@vger.kernel.org, keescook@chromium.org, jannh@google.com, linaro-mm-sig@lists.linaro.org, linux-fsdevel@vger.kernel.org, Bernd Edlinger , surenb@google.com, Alexey Gladkov , linux-kernel@vger.kernel.org, minchan@kernel.org, Yafang Shao , "Eric W. Biederman" , hridya@google.com, Andrew Morton , Christian =?iso-8859-1?Q?K=F6nig?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, Feb 05, 2021 at 02:23:20AM +0000, Kalesh Singh wrote: > +DMA Buffer files > +~~~~~~~~~~~~~~~~ > + > +:: > + > + pos: 0 > + flags: 04002 > + mnt_id: 9 > + dmabuf_inode_no: 63107 inode_nr would be better than inode_no. But even better would be to match stat(2) and just call it 'ino'. > + size: 32768 > + count: 2 > + exp_name: system-heap _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel