From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: [PATCH 5/9] staging/rdma/hfi1: Add function stubs for TID caching Date: Thu, 19 Nov 2015 17:06:30 -0800 Message-ID: <20151120010630.GA25032@kroah.com> References: <1446244918-12089-1-git-send-email-ira.weiny@intel.com> <1446244918-12089-6-git-send-email-ira.weiny@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: Or Gerlitz Cc: devel@driverdev.osuosl.org, "linux-rdma@vger.kernel.org" , Mitko Haralanov , Doug Ledford , Kamal Heib List-Id: linux-rdma@vger.kernel.org On Thu, Nov 12, 2015 at 07:58:54AM +0200, Or Gerlitz wrote: > On Sat, Oct 31, 2015 at 12:41 AM, wrote: > > From: Mitko Haralanov > > > > Add mmu notify helper functions and TID caching function stubs in preparation > > for the TID caching implementation. > > > > TID caching makes use of the MMU notifier to allow the driver to respond to the > > user freeing memory which is allocated to the HFI. > > > > This patch implements the basic MMU notifier functions to insert, find and > > remove buffer pages from memory based on the mmu_notifier being invoked. > > > > In addition it places stubs in place for the main entry points by follow on > > code. > > > > Follow up patches will complete the implementation of the interaction with user > > space and makes use of these functions. > > So this is an wholy orthogonal mechanism for memory registrations or > de-registrations vs > what's supported by the upstream RDMA stack to which this driver > attempts to be a HW provider, right? > > Ira, Mike - why do that? > > 2. Greg - I read an earlier comment you made that a driver in staging > need to be 1st > and most **fixed** with patches such that the TODO items to get it out > of staging are > addressed. I see here every day long train of features going into this > driver, should the > focus need to be elsewhere, according to the staging guidelines? I've already complained about this, supposedly these are things that are needed to get it out of staging... And yes, you are correct. thanks, greg k-h