Because I experiment with btrfs in my 12.04 server, I use recent 3.6.3-030603-generic kernel found in the kernel-ppa/mainline - Kernel Ubuntu (intended for 12.10 Quantal). I also use the LXC, which works better when the kernel is compiled with CONFIG_MEMCG and CONFIG_MEMCG_SWAP flags compiled (which are absent in the mentioned kernel).
I'd like to try to recompile the kernel with those flags in the way as Ubuntu-compatible as possible. How to do it? How to get the sources from 12.04 (Or should I install 12.10 just for this process?)
(All the tutorials I found on the Net eighter assume I use the newest kernel, or some specific version (different from mine) or that the kernel source is taken from apt-source)