1. A method for storing commands, the method comprising: writing, with a processor, a current set of commands to a chain of memory units in a command buffer starting from a current confirm point in a memory unit of the chain of memory units, wherein the chain of memory units stores previously confirmed commands that the processor stored in the chain of memory units before the writing of the current set of commands, and wherein the previously confirmed commands have handles that are stored in an allocation list; determining, with the processor, at least one of: whether an end of the chain of memory units is reached with commands of the current set of commands that have not yet been written to the chain of memory units during the writing of the current set of commands; or whether there is sufficient space in the allocation list to store handles associated with the current set of commands after the writing of the current set of commands; and submitting for eventual execution, the previously confirmed commands that were stored by the processor in the chain of memory units before the writing of the current set of commands if, based on the determination, the end of the chain of memory units is reached with commands of the current set of commands that have not yet been written to the chain of memory units or if, based on the determination, there is insufficient space in the allocation list to store handles associated with the current set of commands.