Re: Swap related changes

Rik van Riel (riel@conectiva.com.br)
Tue, 23 Apr 2002 11:00:53 -0300 (BRT)


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/