Re: [PATCH -mm 04/25] free swap space on swap-in/activation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rik van Riel <riel@...>
Cc: Andrew Morton <akpm@...>, <linux-kernel@...>, <lee.schermerhorn@...>, <kosaki.motohiro@...>, Hugh Dickins <hugh@...>
Date: Sunday, June 8, 2008 - 10:14 pm

> - Can completely optimise the thing away if !CONFIG_SWAP.

I think we can optimize more and more in case of if !CONFIG_SWAP.
If system are !CONFIG_SWAP, we can never  swap out anonymous pages.

Don't we manage anonymous pages with list ?

Such system don't need to insert anonymous pages into lru list when fault occur.
It is just needless overhead.

Also, If we can't reclaim anonymous pages, don't we need anon rmap facility ?
I don't know well which subsystems used rmap.

If pageout only use anonymous rmap for pageout,
we can remove anonymous rmapping code in case of !CONFIG_SWAP

How about your opinion ?

-- 
Kinds regards,
MinChan Kim
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH -mm 04/25] free swap space on swap-in/activation, MinChan Kim, (Sun Jun 8, 10:14 pm)