There are people out there saying that when the oil lights comes on flickering it's already too late. My advice: do not ride the bike, find the cause. Start wit the obvious (enough oil, no leaks), then measure the oil pressure. My 1000cc engine pushed up to 160psi cold and settled to 20psi @ idle and 60psi @ 4000+ with the engine at operating temperature.

How to build a cheap and cheerful oil pressure meter in 5 minutes under $30: