From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753119Ab0IPJgB (ORCPT ); Thu, 16 Sep 2010 05:36:01 -0400 Received: from iona.labri.fr ([147.210.8.143]:47389 "EHLO iona.labri.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752009Ab0IPJf7 (ORCPT ); Thu, 16 Sep 2010 05:35:59 -0400 X-Greylist: delayed 1254 seconds by postgrey-1.27 at vger.kernel.org; Thu, 16 Sep 2010 05:35:59 EDT Message-ID: <4C91E01E.4070209@inria.fr> Date: Thu, 16 Sep 2010 11:15:10 +0200 From: Brice Goglin User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6 MIME-Version: 1.0 To: Christopher Yeoh CC: Avi Kivity , linux-kernel@vger.kernel.org, Linux Memory Management List , Ingo Molnar Subject: Re: [RFC][PATCH] Cross Memory Attach References: <20100915104855.41de3ebf@lilo> <4C90A6C7.9050607@redhat.com> <20100916001232.0c496b02@lilo> <4C91B9E9.4020701@ens-lyon.org> In-Reply-To: <4C91B9E9.4020701@ens-lyon.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 16/09/2010 08:32, Brice Goglin a écrit : > I am the guy doing KNEM so I can comment on this. The I/OAT part of KNEM > was mostly a research topic, it's mostly useless on current machines > since the memcpy performance is much larger than I/OAT DMA Engine. We > also have an offload model with a kernel thread, but it wasn't used a > lot so far. These features can be ignored for the current discussion. I've just created a knem branch where I removed all the above, and some other stuff that are not necessary for normal users. So it just contains the region management code and two commands to copy between regions or between a region and some local iovecs. Commands are visible at (still uses ioctls since it doesn't matter while discussing the features): https://gforge.inria.fr/scm/viewvc.php/*checkout*/branches/kernel/driver/linux/knem_main.c?root=knem&content-type=text%2Fplain And the actual driver is at: https://gforge.inria.fr/scm/viewvc.php/*checkout*/branches/kernel/common/knem_io.h?root=knem&content-type=text%2Fplain Brice From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with ESMTP id 417FF6B007B for ; Thu, 16 Sep 2010 05:15:08 -0400 (EDT) Message-ID: <4C91E01E.4070209@inria.fr> Date: Thu, 16 Sep 2010 11:15:10 +0200 From: Brice Goglin MIME-Version: 1.0 Subject: Re: [RFC][PATCH] Cross Memory Attach References: <20100915104855.41de3ebf@lilo> <4C90A6C7.9050607@redhat.com> <20100916001232.0c496b02@lilo> <4C91B9E9.4020701@ens-lyon.org> In-Reply-To: <4C91B9E9.4020701@ens-lyon.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org To: Christopher Yeoh Cc: Avi Kivity , linux-kernel@vger.kernel.org, Linux Memory Management List , Ingo Molnar List-ID: Le 16/09/2010 08:32, Brice Goglin a ecrit : > I am the guy doing KNEM so I can comment on this. The I/OAT part of KNEM > was mostly a research topic, it's mostly useless on current machines > since the memcpy performance is much larger than I/OAT DMA Engine. We > also have an offload model with a kernel thread, but it wasn't used a > lot so far. These features can be ignored for the current discussion. I've just created a knem branch where I removed all the above, and some other stuff that are not necessary for normal users. So it just contains the region management code and two commands to copy between regions or between a region and some local iovecs. Commands are visible at (still uses ioctls since it doesn't matter while discussing the features): https://gforge.inria.fr/scm/viewvc.php/*checkout*/branches/kernel/driver/linux/knem_main.c?root=knem&content-type=text%2Fplain And the actual driver is at: https://gforge.inria.fr/scm/viewvc.php/*checkout*/branches/kernel/common/knem_io.h?root=knem&content-type=text%2Fplain Brice -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org