From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kara Subject: Re: [PATCH 23/26] ib: Convert qib_get_user_pages() to get_user_pages_unlocked() Date: Wed, 2 Oct 2013 17:38:42 +0200 Message-ID: <20131002153842.GD32181@quack.suse.cz> References: <1380724087-13927-1-git-send-email-jack@suse.cz> <1380724087-13927-24-git-send-email-jack@suse.cz> <32E1700B9017364D9B60AED9960492BC211AEF75@FMSMSX107.amr.corp.intel.com> <20131002152811.GC32181@quack.suse.cz> <32E1700B9017364D9B60AED9960492BC211AF005@FMSMSX107.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <32E1700B9017364D9B60AED9960492BC211AF005-AtyAts71sc9zLByeVOV5+bfspsVTdybXVpNB7YpNyf8@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Marciniszyn, Mike" Cc: Jan Kara , LKML , "linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org" , infinipath , Roland Dreier , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-rdma@vger.kernel.org On Wed 02-10-13 15:32:47, Marciniszyn, Mike wrote: > > > The risk of GUP fast is the loss of the "force" arg on GUP fast, which > > > I don't see as significant give our use case. > > Yes. I was discussing with Roland some time ago whether the force > > argument is needed and he said it is. So I kept the arguments of > > get_user_pages() intact and just simplified the locking... > > The PSM side of the code is a more traditional use of GUP (like direct > I/O), so I think it is a different use case than the locking for IB > memory regions. Ah, I see. Whatever suits you best. I don't really care as long as get_user_pages() locking doesn't leak into IB drivers :) Honza -- Jan Kara SUSE Labs, CR -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html