Quoting Oren Laadan (orenl@xxxxxxxxxxxxxxx): > > I can't recall a convincing reason why restore_{thread,cpu}() should > run so late, or in particular after restore_task_objs(). > > I think the original motivation was to avoid the point-of-no-return > at a very early stage. However this is only useful for self-restart. > > If we ever want self-restart to fail gracefully should something go > wrong, we should be prepared to undo any changes to the process - > on the error path. While not beyond reach, it isn't a top priority. > > Does calling restore_{thread,cpu}() earlier solve the problem ? Yes, it does. > BTW, this is also relevant for x86-64... and also 31-bit s390 -serge _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers