On Tuesday 26 April 2005 13:31, Bodo Stroesser wrote: > Blaisorblade wrote: > > Other issues follow, which refer to copied code going out-of-date wrt. my > > local tree (which I have snapshotted some time ago, after I started > > writing this mail). This is the problem with copying code - and you're > > starting experiencing it! > > > > * important changes for TLS support, clone(), and so on. > > I'm going to implement TLS support in UML/s390. I could do this in > arch/um/sys-s390/syscalls.c/sys_clone() without any need to change generic > UML code. > But I guess, for i386 there will be a need for arch-specific code in > copy_thread(), maybe something like arch_copy_thread(). > If so, s390 TLS support should be inserted using in the same manner. > Do you already have some code for this, that I could base on?
On my web-site I've uploaded my personal devel-tree snapshot against -rc3. Currently I've had to add a "clear_flushed_tls()" to copy_thread(), which probably should be wrapped in a arch_copy_thread() (with a macro/inline in some header). As a side note: the TLS code currently does not work yet, so don't rely on it. There are also some issues to (later?) consider, which are indicated in the patch itself; and there will be something to add to the host SKAS patch, because the current implementation would be a bit too slow probably. -- Paolo Giarrusso, aka Blaisorblade Skype user "PaoloGiarrusso" Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel