[Devel] Re: [PATCH RFC] powerpc: catch 32/64bit mix

Serge E. Hallyn serue at us.ibm.com
Wed Nov 25 11:16:17 PST 2009


Quoting Oren Laadan (orenl at cs.columbia.edu):
> 
> 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 at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list