Revert "mm, mempolicy: remove per-process flag"

This reverts commit 57e65d20e7e07b713fee6cdab60308a5233fdc2d.
Revert "mm: per-thread vma caching"

This reverts commit e9bfad219f34cbcb348c72ce831f54f64225e1a1.