NetBSD-Bugs archive

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

Re: xsrc/49553 Xorg hits 100% CPU on shutdown



The following reply was made to PR xsrc/49553; it has been noted by GNATS.

From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: xsrc/49553 Xorg hits 100% CPU on shutdown
Date: Thu, 19 Feb 2015 09:54:18 +0000

 In view of Michael's observations, I have been running X on a sandy bridge
 with
 
   Section "ServerFlags"
           Option          "NoTrapSignals" "true"
   EndSection
 
 for the last ten days, but haven't seen the gallium issue, so there seem
 to be two different issues?
 
 (Total subjectivity: I have a "feeling" that I see the issue less often
 on the sandy bridge and more often on the ivy bridge)
 
 Suggestion from Chris Wilson in
 http://lists.freedesktop.org/archives/intel-gfx/2015-January/059088.html
 
   The thread should be destroyed along with the parent process on
   termination. I guess your pthreads implementation prevents that? If so,
   and that is desirable, you will need to call pthread_kill() in the
   Xorg driver destructor - only there is not a suitable callback, so you
   would need to hack something into the resource system or add a counter.
 


Home | Main Index | Thread Index | Old Index