Total stability of kernel methods