reconfigure roll of bones without losing waightpaint
Changing the roll of bones will not effect your weight painting and your model in rest-position will be exactly the same.

What will change is your bones pose transformations -> your armature in pose mode will look different. That's because such transformations are in local space and changing the roll of bones changes the bone's coordinate system base around it's Y axis.