Embodiments of the present invention provide a magnetic memory. In one
embodiment, the magnetic memory comprises an insulator having a trench, a first
conductor in the trench, a first magnetic layer in the trench and adjacent to the
first conductor, and a second magnetic layer outside the trench.