From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTP id 1DFB2A80 for ; Mon, 16 Jun 2014 14:09:54 +0000 (UTC) Received: from mail.free-electrons.com (top.free-electrons.com [176.31.233.9]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id A762320207 for ; Mon, 16 Jun 2014 14:09:53 +0000 (UTC) Date: Mon, 16 Jun 2014 16:09:51 +0200 From: Thomas Petazzoni To: Christoph Lameter Message-ID: <20140616160951.10c455dc@free-electrons.com> In-Reply-To: References: <20140611194504.GA2683@kroah.com> <20140613173041.GA19513@kroah.com> <1402682146.2224.44.camel@dabdike.int.hansenpartnership.com> <20140616133932.7f8e6bbe@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: James Bottomley , ksummit-discuss@lists.linuxfoundation.org Subject: Re: [Ksummit-discuss] [CORE TOPIC] Redesign Memory Management layer and more core subsystem List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Dear Christoph Lameter, On Mon, 16 Jun 2014 09:05:31 -0500 (CDT), Christoph Lameter wrote: > On Mon, 16 Jun 2014, Thomas Petazzoni wrote: > > > I might be completely out of topic here, but this very much sounds like > > what is happening for graphics. There is a DRM/KMS kernel side, which > > does all the mode setting, context allocation and things like that, and > > then all the rest takes place in userspace, using hardware-specific > > pieces of code in libdrm and other components of the graphics stack. > > I thought about that too. > > > If we translate that to networking, there would be a need to have all > > of the setup/initialization done in the kernel, and then some > > hardware-specific userspace libraries to use for the data path. > > Well ideally these would just be API specific in order to support multiple > devices. Well, my understanding is that libdrm exposes on API, but internally has support for various graphics hardware. Same for OpenGL: a unified normalized API that applications can rely on, and pure user-space implementations that know about the hardware details. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com