lkml.org 
[lkml]   [2008]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: debugctl msr
>-----Original Message-----
>From: stephane eranian [mailto:eranian@googlemail.com]
>Sent: Freitag, 21. November 2008 09:48
>To: Metzger, Markus T

>> If ds_validate() is disabled, it would put the context twice.
>>
>Yes, that was my case.

The code heavily relies on ds_validate().
I would expect a lot of things to break down if ds_validate() were
disabled.


>I found the reason why in system-wide my kernel was crashing.
>It was due to the way you are writing DS_AREA_MSR in
>ds_allocate_context():
>
> if (!task || (task == current))
> wrmsr(MSR_IA32_DS_AREA, (unsigned
>long)context->ds, 0);


Thanks. I have a fix in my sandbox.


I won't be able to send the patches out this week. Especially the
interface change to introduce the handle is quite big. I should have
them early next week.


regards,
markus.
---------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



\
 
 \ /
  Last update: 2008-11-21 10:01    [W:0.069 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site