Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 23 Apr 2002 10:01:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 23 Apr 2002 10:01:26 -0400 Received: from garrincha.netbank.com.br ([200.203.199.88]:12295 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Tue, 23 Apr 2002 10:01:24 -0400 Date: Tue, 23 Apr 2002 11:00:53 -0300 (BRT) From: Rik van Riel X-X-Sender: riel@imladris.surriel.com To: Amol Kumar Lad Cc: "'linux-kernel@vger.kernel.org'" Subject: Re: Swap related changes In-Reply-To: <7CFD7CA8510CD6118F950002A519EA3001067D92@leonoid.in.ishoni.com> Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 23 Apr 2002, Amol Kumar Lad wrote: > I am porting Linux kernel ( its by Montavista.. Hard hat 2.0 for > embedded systems), As my board does not has any disk I want to disable > all the swap related functionalities from VM ( I want to comment out the > code). > > I think I can make some improvements in kswapd... but as swapcache and > writepage etc are highly integrated in the VM, > what all I can safely remove without effecting the VM functionlity. You should be able to remove most of the functionality from swapfile.c and swap_state.c regards, Rik -- Bravely reimplemented by the knights who say "NIH". http://www.surriel.com/ http://distro.conectiva.com/ - 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/