From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 28 Jun 2000 12:24:06 -0400 (EDT) From: "Benjamin C.R. LaHaise" Subject: Re: kmap_kiobuf() In-Reply-To: <13214.962208390@cygnus.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: David Woodhouse Cc: lord@sgi.com, linux-kernel@vger.rutgers.edu, linux-mm@kvack.org List-ID: On Wed, 28 Jun 2000, David Woodhouse wrote: > MM is not exactly my field - I just know I want to be able to lock down a > user's buffer and treat it as if it were in kernel-space, passing its > address to functions which expect kernel buffers. Then pass in a kiovec (we're planning on adding a rw_kiovec file op!) and use kmap/kmap_atomic on individual pages as required. As to providing larger kmaps, I have yet to be convinced that providing primatives for dealing with objects larger than PAGE_SIZE is a Good Idea. -ben -- 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.eu.org/Linux-MM/