How will anesthetic effect my mother with memory loss and are their any alternatives?

A fellow caregiver asked...

My mother is looking at having a knee replacement. She has early memory loss. What are the possible effects of anesthetic and are there alternative treatments we should check out before operating. Thank you for your advice.