The Brewers acquired reliever Ryan Walker from the Giants in exchange for right-handers Blake Holub and Gavin Perry.