#5991: regression: huge number of wakeups in xmonad
--------------------------------------+-------------------------------------
Reporter: dmwit | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.4.2
Component: Runtime System | Version: 7.6.1
Resolution: | Keywords:
Os: Linux | Architecture: x86_64 (amd64)
Failure: Runtime performance bug | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
--------------------------------------+-------------------------------------
Comment(by marlowsd@…):
commit 673b6f50eca6f53cfb13b00e587c403c716baba1
{{{
Author: Simon Marlow <[email protected]>
Date: Fri Sep 21 15:26:46 2012 +0100
Revert "Disable the timer signal while blocked in select() (#5991)"
This reverts commit dd24d6bc37879c6b32a3d5ac4ee765e59e13501c.
This attempt to fix the problem was misguided: the program might be
stuck in a foreign call rather than awaitEvent(), and then the timer
signal will never get disabled. The only way to turn off the timer
signal in this case is in the timer interrupt handler itself.
rts/posix/Select.c | 17 ++++-------------
1 files changed, 4 insertions(+), 13 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5991#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs