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/