I don't see an indication it's disabling hw interrupts during, doesn't this mean that it can be interrupted/migrated in the middle?
yes, that's bad