At the base of the skull is a small group of muscles that serves to control and stabilize the head. These muscles can become overworked and chronically shortened. As these muscles adapt to the shortened position they can begin to impede blood flow to the brain and can be associated with tension headaches and chronic neck pain. Releasing these muscles can provide relief from chronic pain and headaches.
Main instructions on how to foam rolling, here.