Monotone perturbations of linear operators having nullspace made of oscillating functions