But even at those 5-6 years recruiters/hiring managers start to notice, you better have some good story to explain since they will ask. They do care much more if hopping is recent compared to 5-10 years ago. For more senior roles its simply a no-go, I mean think about it - it would be a net loss for the company to hire such a person, and if its obvious from the start why cause this to yourself.
Companies want stability, especially on senior level. If they change, they want to be in control of the change and not the opposite. Instable persons won't bring that, you don't need 30 years of management experience to realize this.