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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux