Cpu_rmap: backport from linux 3.12