Re: Re: Re: [RFC][PATCH] memcg: change shmem handler.

From: kamezawa . hiroyu
Date: Mon Jun 30 2008 - 21:07:31 EST


----- Original Message -----
Sorry..a bit more words.
>>Is that a good thing? If we really decide that globally we
>>need such a counter, then fine for memcg to follow; but I've
>>not yet heard it asked for.
>After swap-controller is introduced, I can imagine there will be a
>swap-full/swap-less cgroup. And shmem will be able to be swapped out.
not
>memcg handles limit of memory usage and Admin/Middleware will want to
>know current limit is good or bad. So, showing amount of tmpfs
>will be good (It's now shown as Cache...a pages easily kicked out ;)
>
I'm not sure but how this seems under memcg in which DataBase runs.

Now.
- anon
- cache (including DataBase's shmem)
After
- anon
- cache (file cache)
- shmem (DataBase's working area)

not good ?

Thanks,
-Kame
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/