Depends.
If one is a newbie in my field of knowledge and I am supposed to teach him/her, no problem. I do it with pleasure.
Another case is when someone is supposed to be knowledgeable enough to do his job and yet he/she shows his/her incompetence. In this case I still share my knowledge but without good will. I usually don't give any sign of disappointment though that's why people don't hesitate to bother me.
I also don't like to share my knowledge with stupid individuals or those who don't show any will to learn. I absolutely don't tolerate those who yawn while I am speaking and immediately let them know. Yeah, at times I could be a pretty tough mentor.