From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 5 Jun 2001 13:25:27 -0500 From: Timur Tabi In-Reply-To: <3B568C0B@MailAndNews.com> Subject: Re: temp. mem mappings Message-ID: Sender: owner-linux-mm@kvack.org Return-Path: To: linux-mm@kvack.org List-ID: ** Reply to message from cohutta on Tue, 5 Jun 2001 13:54:15 -0400 > what is the a preferred/correct method to map and unmap memory > temporarily? Allocate a virtual memory area using vmalloc and then save and modify the pmd/pgd/pte to point to the physical memory you want. To unmap, just undo the previous steps. -- Timur Tabi - ttabi@interactivesi.com Interactive Silicon - http://www.interactivesi.com -- 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/