Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753673Ab3JBPc5 (ORCPT ); Wed, 2 Oct 2013 11:32:57 -0400 Received: from mga03.intel.com ([143.182.124.21]:58364 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752926Ab3JBPcz convert rfc822-to-8bit (ORCPT ); Wed, 2 Oct 2013 11:32:55 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.90,1019,1371106800"; d="scan'208";a="368794497" From: "Marciniszyn, Mike" To: Jan Kara CC: LKML , "linux-mm@kvack.org" , infinipath , Roland Dreier , "linux-rdma@vger.kernel.org" Subject: RE: [PATCH 23/26] ib: Convert qib_get_user_pages() to get_user_pages_unlocked() Thread-Topic: [PATCH 23/26] ib: Convert qib_get_user_pages() to get_user_pages_unlocked() Thread-Index: AQHOv4QLcKrfhiX4106LS7dZ0ASSH5nhidXg Date: Wed, 2 Oct 2013 15:32:47 +0000 Message-ID: <32E1700B9017364D9B60AED9960492BC211AF005@FMSMSX107.amr.corp.intel.com> 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> In-Reply-To: <20131002152811.GC32181@quack.suse.cz> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.200.108] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 730 Lines: 14 > > 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. Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/