Yeah, but you would effectively turn off the OS for the period of time you did this. As you mentioned, if you disable interrupts, nothing can preempt you until you turn them back on (assuming non-SMP). Other than that, you can make sure that no other user process will preempt you by making yourself a higher priority (that IS the point).