The name Mahmud means "praiseworthy". The name is derived from the same root as Muhammad.
Famous bearers
A bearer is Mahmud of Ghazni (971 - 1030), also known as Yāmīn al-Dawlah Mahmūd, the ruler of the Ghaznavid Empire from 997 until his death
(the Ghaznavid Empire was a Muslim state that existed from 962 to 1187, centered in what is now Afghanistan).