* [uml-devel] Needed arch_copy_tls? Not done by dup_task_struct?
@ 2006-01-18 19:53 Blaisorblade
2006-01-18 23:38 ` [uml-devel] " Jeff Dike
0 siblings, 1 reply; 5+ messages in thread
From: Blaisorblade @ 2006-01-18 19:53 UTC (permalink / raw)
To: Jeff Dike, user-mode-linux-devel
I looked at my patch's comment and noticed that arch_copy_tls, your
introduction, shouldn't indeed be needed, because dup_task_struct should do
that (it copies the whole task_struct, and it seems that arch_thread is
included in that blob rather than pointed too).
I'm fairly puzzled at that. Have you any idea on this?
Also, since you have a good test FS (Fedora), can I send you the updated
versions I put out / can you test them? My Sarge isn't good any more, likely
because glibc was updated by apt-get, and it works well with the LDT
fallback.
I've just uploaded 2.6.15-bs1-tls for people to test.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [uml-devel] Re: Needed arch_copy_tls? Not done by dup_task_struct?
2006-01-18 19:53 [uml-devel] Needed arch_copy_tls? Not done by dup_task_struct? Blaisorblade
@ 2006-01-18 23:38 ` Jeff Dike
2006-01-18 23:39 ` Blaisorblade
2006-01-19 0:00 ` Blaisorblade
0 siblings, 2 replies; 5+ messages in thread
From: Jeff Dike @ 2006-01-18 23:38 UTC (permalink / raw)
To: Blaisorblade; +Cc: user-mode-linux-devel
On Wed, Jan 18, 2006 at 08:53:29PM +0100, Blaisorblade wrote:
> I looked at my patch's comment and noticed that arch_copy_tls, your
> introduction, shouldn't indeed be needed, because dup_task_struct should do
> that (it copies the whole task_struct, and it seems that arch_thread is
> included in that blob rather than pointed too).
>
> I'm fairly puzzled at that. Have you any idea on this?
I wondered about that, too, but hadn't bothered looking into it yet. I'm
suspicious that we initialize p.thread with INIT_THREAD, which would
obviously wipe it out.
> Also, since you have a good test FS (Fedora), can I send you the updated
> versions I put out / can you test them? My Sarge isn't good any more, likely
> because glibc was updated by apt-get, and it works well with the LDT
> fallback.
I have - they are on my patches page. I added back the
user_desc -> modify_ldt_t thing because I don't have a user_desc here.
Other than that (and the O_FORCE succeeded message), it seems to be working
fine.
> I've just uploaded 2.6.15-bs1-tls for people to test.
What I grabbed is what was there this morning. If you changed anything
significant, let me know, and I'll pull again.
Jeff
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] Re: Needed arch_copy_tls? Not done by dup_task_struct?
2006-01-18 23:38 ` [uml-devel] " Jeff Dike
@ 2006-01-18 23:39 ` Blaisorblade
2006-01-19 4:38 ` Jeff Dike
2006-01-19 0:00 ` Blaisorblade
1 sibling, 1 reply; 5+ messages in thread
From: Blaisorblade @ 2006-01-18 23:39 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Jeff Dike
On Thursday 19 January 2006 00:38, Jeff Dike wrote:
> On Wed, Jan 18, 2006 at 08:53:29PM +0100, Blaisorblade wrote:
> > I looked at my patch's comment and noticed that arch_copy_tls, your
> > introduction, shouldn't indeed be needed, because dup_task_struct should
> > do that (it copies the whole task_struct, and it seems that arch_thread
> > is included in that blob rather than pointed too).
> >
> > I'm fairly puzzled at that. Have you any idea on this?
> I wondered about that, too, but hadn't bothered looking into it yet. I'm
> suspicious that we initialize p.thread with INIT_THREAD, which would
> obviously wipe it out.
> > Also, since you have a good test FS (Fedora), can I send you the updated
> > versions I put out / can you test them? My Sarge isn't good any more,
> > likely because glibc was updated by apt-get, and it works well with the
> > LDT fallback.
> I have - they are on my patches page. I added back the
> user_desc -> modify_ldt_t thing because I don't have a user_desc here.
> Other than that
> (and the O_FORCE succeeded message),
Uff, I want to remove load_TLS(O_FORCE) from there altogether.
Could you unapply
patches/tls/uml-add-tls-support-debug-check-never-works
and verify it works correctly however? I want that to work :-) !
> it seems to be working
> fine.
> > I've just uploaded 2.6.15-bs1-tls for people to test.
> What I grabbed is what was there this morning. If you changed anything
> significant, let me know, and I'll pull again.
Ok, don't think anything changed for now. I'm changing things however, so
please stick modification in different patches so we merge easily.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] Re: Needed arch_copy_tls? Not done by dup_task_struct?
2006-01-18 23:38 ` [uml-devel] " Jeff Dike
2006-01-18 23:39 ` Blaisorblade
@ 2006-01-19 0:00 ` Blaisorblade
1 sibling, 0 replies; 5+ messages in thread
From: Blaisorblade @ 2006-01-19 0:00 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Jeff Dike
On Thursday 19 January 2006 00:38, Jeff Dike wrote:
> On Wed, Jan 18, 2006 at 08:53:29PM +0100, Blaisorblade wrote:
> > I looked at my patch's comment and noticed that arch_copy_tls, your
> > introduction, shouldn't indeed be needed, because dup_task_struct should
> > do that (it copies the whole task_struct, and it seems that arch_thread
> > is included in that blob rather than pointed too).
> >
> > I'm fairly puzzled at that. Have you any idea on this?
>
> I wondered about that, too, but hadn't bothered looking into it yet. I'm
> suspicious that we initialize p.thread with INIT_THREAD, which would
> obviously wipe it out.
> > Also, since you have a good test FS (Fedora), can I send you the updated
> > versions I put out / can you test them? My Sarge isn't good any more,
> > likely because glibc was updated by apt-get, and it works well with the
> > LDT fallback.
> I have - they are on my patches page. I added back the
> user_desc -> modify_ldt_t thing because I don't have a user_desc here.
I'm fixing this by copying the structure definition into sysdep/tls.h header
files with a different name and using that one in os-Linux/tls.c.
> Other than that (and the O_FORCE succeeded message), it seems to be working
> fine.
> > I've just uploaded 2.6.15-bs1-tls for people to test.
> What I grabbed is what was there this morning. If you changed anything
> significant, let me know, and I'll pull again.
I'll notify you when needed.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive
http://it.messenger.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] Re: Needed arch_copy_tls? Not done by dup_task_struct?
2006-01-18 23:39 ` Blaisorblade
@ 2006-01-19 4:38 ` Jeff Dike
0 siblings, 0 replies; 5+ messages in thread
From: Jeff Dike @ 2006-01-19 4:38 UTC (permalink / raw)
To: Blaisorblade; +Cc: user-mode-linux-devel
On Thu, Jan 19, 2006 at 12:39:29AM +0100, Blaisorblade wrote:
> Could you unapply
>
> patches/tls/uml-add-tls-support-debug-check-never-works
>
> and verify it works correctly however? I want that to work :-) !
Sill seems OK.
> Ok, don't think anything changed for now. I'm changing things however, so
> please stick modification in different patches so we merge easily.
Yeah, I'm leaving yours alone and keeping my changes in their own patches.
Jeff
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-01-19 3:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-18 19:53 [uml-devel] Needed arch_copy_tls? Not done by dup_task_struct? Blaisorblade
2006-01-18 23:38 ` [uml-devel] " Jeff Dike
2006-01-18 23:39 ` Blaisorblade
2006-01-19 4:38 ` Jeff Dike
2006-01-19 0:00 ` Blaisorblade
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.