From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id 718136B004F for ; Thu, 15 Oct 2009 10:57:48 -0400 (EDT) Message-ID: <4AD73862.4010102@redhat.com> Date: Thu, 15 Oct 2009 10:57:38 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 1/9] swap_info: private to swapfile.c References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Hugh Dickins Cc: Andrew Morton , Nigel Cunningham , KAMEZAWA Hiroyuki , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: Hugh Dickins wrote: > The swap_info_struct is mostly private to mm/swapfile.c, with only > one other in-tree user: get_swap_bio(). Adjust its interface to > map_swap_page(), so that we can then remove get_swap_info_struct(). > > But there is a popular user out-of-tree, TuxOnIce: so leave the > declaration of swap_info_struct in linux/swap.h. > > Signed-off-by: Hugh Dickins Reviewed-by: Rik van Riel -- All rights reversed. -- 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/ . Don't email: email@kvack.org