Kswapd0 using 100% of CPU [duplicate]

Alright I found the answer, it turns out that most of my RAM was full of cached memory. If you set up a cronjob to clear cached memory every hour or so kswapd0 never appears again.