crypto/scheduler: add minimum head/tailroom requirement