On Mon, Oct 21, 2013 at 7:34 PM, Josh Triplett <josh@xxxxxxxxxxxxxxxx> wrote: > The 32-bit and 64-bit versions of copy_thread have functionally > identical handling for copying the I/O bitmap, modulo differences in > error handling. Clean up the error paths in both by moving the copy of > the I/O bitmap to the end, to eliminate the need to free it if > subsequent copy steps fail; move the resulting identical code to a > static inline in a common header. > > Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx> This seems quite sensible to me. Acked-by: Kees Cook <keescook@xxxxxxxxxxxx> -- Kees Cook Chrome OS Security _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization