# Re: \[patch 3/3\] mm: memcontrol: consolidate swap controller code

- From: Vladimir Davydov \<hidden\>
- Date: 2015-01-12 11:22:36 
- List: cgroups
- Page: https://ratatoskr.run/cgroups/2015/01/4407569
- Thread: https://ratatoskr.run/linux-mm/2015/01/4406695/t.md

```text
On Fri, Jan 09, 2015 at 09:14:01PM -0500, Johannes Weiner wrote:
> The swap controller code is scattered all over the file.  Gather all
> the code that isn't directly needed by the memory controller at the
> end of the file in its own CONFIG_MEMCG_SWAP section.
> 
> Signed-off-by: Johannes Weiner <redacted>

I was always wondering why it had to be scattered all over the place. I
guess we'll have to do the same for the kmem part.

Reviewed-by: Vladimir Davydov <redacted>
```
