On Mon, Jul 4, 2011 at 12:10 PM, Dmitry Fink (Palm GBU) <Dmitry.Fink@xxxxxxxx> wrote: > If I understand the logic correctly, even systems with swap set to > OVERCOMMIT_GUESS are equally affected, > what we are trying to do here is count the amount of immediately available > and > "potentially" available space both in memory and in swap. shmem is not > immediately > available, but it is not potentially available either, even if we swap it > out, it will > just be relocated from memory into swap, total amount of immediate and > potentially > available memory is not going to be affected, so we shouldn't count it as > available > in the first place. Agree. I think this is good one rather than old description. -- Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>