What is your bike? Year and model?
I would not machine anything.
I would carefully inspect all your bearings, inserts, and seals and replace everything that is bad.
These are some of the most overlooked parts on a bike and are often bad.
If you are not sure what parts are all there, go to bikebandit and check the diagram for your bike.