Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964797AbWE3Wqx (ORCPT ); Tue, 30 May 2006 18:46:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964798AbWE3Wqw (ORCPT ); Tue, 30 May 2006 18:46:52 -0400 Received: from hera.kernel.org ([140.211.167.34]:34198 "EHLO hera.kernel.org") by vger.kernel.org with ESMTP id S964797AbWE3Wqw (ORCPT ); Tue, 30 May 2006 18:46:52 -0400 To: linux-kernel@vger.kernel.org From: "H. Peter Anvin" Subject: Re: Sharing memory between kernel and user space Date: Tue, 30 May 2006 15:46:17 -0700 (PDT) Organization: Mostly alphabetical, except Q, with we do not fancy Message-ID: References: <14CFC56C96D8554AA0B8969DB825FEA0012B331A@chicken.machinevisionproducts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: terminus.zytor.com 1149029177 27042 127.0.0.1 (30 May 2006 22:46:17 GMT) X-Complaints-To: news@terminus.zytor.com NNTP-Posting-Date: Tue, 30 May 2006 22:46:17 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 656 Lines: 17 Followup to: <14CFC56C96D8554AA0B8969DB825FEA0012B331A@chicken.machinevisionproducts.com> By author: "Brian D. McGrew" In newsgroup: linux.dev.kernel > > I have a question about the best way to share memory between user and > kernel space. > In general, allocate the memory in kernel space (via get_free_page et al), and make accessible to userspace via mmap on a device node. -hpa - 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/