oh, i forgot to mention "benign exertional headache" (similar to benign coital headache) thats what we call it when we've ruled out all the dangerous causes.
Sometimes a nonsteroidal anti-inflammatory is used before the planned exercise, or a betablocker.