Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262185AbVDRUUX (ORCPT ); Mon, 18 Apr 2005 16:20:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262202AbVDRUUX (ORCPT ); Mon, 18 Apr 2005 16:20:23 -0400 Received: from rrcs-24-227-247-8.sw.biz.rr.com ([24.227.247.8]:50341 "EHLO emachine.austin.ammasso.com") by vger.kernel.org with ESMTP id S262185AbVDRUUS (ORCPT ); Mon, 18 Apr 2005 16:20:18 -0400 Message-ID: <42641655.1080403@ammasso.com> Date: Mon, 18 Apr 2005 15:19:33 -0500 From: Timur Tabi Organization: Ammasso User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en, en-gb MIME-Version: 1.0 To: Arjan van de Ven CC: Roland Dreier , Troy Benjegerdes , linux-kernel@vger.kernel.org, openib-general@openib.org Subject: Re: [PATCH][RFC][0/4] InfiniBand userspace verbs implementation References: <200544159.Ahk9l0puXy39U6u6@topspin.com> <20050411142213.GC26127@kalmia.hozed.org> <52mzs51g5g.fsf@topspin.com> <4263DBBF.9040801@ammasso.com> <1113840973.6274.84.camel@laptopd505.fenrus.org> <4263DF70.2060702@ammasso.com> <1113853240.6274.99.camel@laptopd505.fenrus.org> <426411C2.5040703@ammasso.com> <1113854742.6274.101.camel@laptopd505.fenrus.org> In-Reply-To: <1113854742.6274.101.camel@laptopd505.fenrus.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1033 Lines: 25 Arjan van de Ven wrote: > you just said that you didn't care that it got munlock'd. So you don't > care that it gets freed either. And then reused. Well, I can live with the app being able to call munlock(), because the apps that our customers use don't call munlock(). What I can't live with is a bug in the kernel that causes pinned pages to be swapped or moved. Obviously, I would rather call get_user_pages() instead of mlock(), but I can't, because get_user_pages doesn't work. The page doesn't stay pinned at the physical address, but it does if I call mlock() and get_user_pages(). Actually, in our tests, calling mlock() appears to be good enough, but I'll update our code to call get_user_pages() as well. -- Timur Tabi Staff Software Engineer timur.tabi@ammasso.com - 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/