From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Otte Subject: Re: [RFC]kvm: swapout guest page Date: Mon, 21 May 2007 11:17:06 +0200 Message-ID: <46516392.6070402@de.ibm.com> References: <288dbef70705210112t710bc904pe546840f7b9cfcfa@mail.gmail.com> Reply-To: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Shaohua Li Return-path: In-Reply-To: <288dbef70705210112t710bc904pe546840f7b9cfcfa-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Shaohua Li wrote: > +EXPORT_SYMBOL(delete_from_swap_cache); > +EXPORT_SYMBOL(move_to_swap_cache); > +EXPORT_SYMBOL(lookup_swap_cache); > +EXPORT_SYMBOL(read_swap_cache_async); > +EXPORT_SYMBOL(get_swap_page); > +EXPORT_SYMBOL(swap_free); > +EXPORT_SYMBOL(add_to_page_cache_lru); Use EXPORT_SYMBOL_GPL for all of these. I fail to see, why this is needed at all. Regular malloc()ed userspace memory should be just what we want? The s390host prototype does just that, userspace uses malloc() and the memory will be swapped out just regular. Am I missing something important? so long, Carsten ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/