[PATCH] x86_64: support poll() on /dev/mcelog (try #3) (resend)

2007-05-07 Thread Tim Hockin
From: Tim Hockin <[EMAIL PROTECTED]> Background: /dev/mcelog is typically polled manually. This is less than optimal for situations where accurate accounting of MCEs is important. Calling poll() on /dev/mcelog does not work. Description: This patch adds support for poll() to /dev/mcelog.

[PATCH] x86_64: support poll() on /dev/mcelog (try #3) (resend)

2007-05-07 Thread Tim Hockin
From: Tim Hockin [EMAIL PROTECTED] Background: /dev/mcelog is typically polled manually. This is less than optimal for situations where accurate accounting of MCEs is important. Calling poll() on /dev/mcelog does not work. Description: This patch adds support for poll() to /dev/mcelog.

[PATCH] x86_64: support poll() on /dev/mcelog (try #3)

2007-05-02 Thread Tim Hockin
From: Tim Hockin <[EMAIL PROTECTED]> Background: /dev/mcelog is typically polled manually. This is less than optimal for situations where accurate accounting of MCEs is important. Calling poll() on /dev/mcelog does not work. Description: This patch adds support for poll() to /dev/mcelog.

Re: [PATCH] x86_64: support poll() on /dev/mcelog (try #2)

2007-05-02 Thread Tim Hockin
Newer version coming in a while. Testing. On 4/30/07, Tim Hockin <[EMAIL PROTECTED]> wrote: From: Tim Hockin <[EMAIL PROTECTED]> Background: /dev/mcelog is typically polled manually. This is less than optimal for situations where accurate accounting of MCEs is important. Calling poll()

Re: [PATCH] x86_64: support poll() on /dev/mcelog (try #2)

2007-05-02 Thread Tim Hockin
Newer version coming in a while. Testing. On 4/30/07, Tim Hockin [EMAIL PROTECTED] wrote: From: Tim Hockin [EMAIL PROTECTED] Background: /dev/mcelog is typically polled manually. This is less than optimal for situations where accurate accounting of MCEs is important. Calling poll() on

[PATCH] x86_64: support poll() on /dev/mcelog (try #3)

2007-05-02 Thread Tim Hockin
From: Tim Hockin [EMAIL PROTECTED] Background: /dev/mcelog is typically polled manually. This is less than optimal for situations where accurate accounting of MCEs is important. Calling poll() on /dev/mcelog does not work. Description: This patch adds support for poll() to /dev/mcelog.

[PATCH] x86_64: support poll() on /dev/mcelog (try #2)

2007-04-30 Thread Tim Hockin
From: Tim Hockin <[EMAIL PROTECTED]> Background: /dev/mcelog is typically polled manually. This is less than optimal for situations where accurate accounting of MCEs is important. Calling poll() on /dev/mcelog does not work. Description: This patch adds support for poll() to /dev/mcelog.

Re: [PATCH] x86_64: support poll() on /dev/mcelog

2007-04-30 Thread Andi Kleen
> - > + > + /* handle a waiting machine check */ > +retint_mce: You could just handle it in notify_resume, no need to complicate the assembler code -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH] x86_64: support poll() on /dev/mcelog

2007-04-30 Thread Andi Kleen
- + + /* handle a waiting machine check */ +retint_mce: You could just handle it in notify_resume, no need to complicate the assembler code -Andi - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

[PATCH] x86_64: support poll() on /dev/mcelog (try #2)

2007-04-30 Thread Tim Hockin
From: Tim Hockin [EMAIL PROTECTED] Background: /dev/mcelog is typically polled manually. This is less than optimal for situations where accurate accounting of MCEs is important. Calling poll() on /dev/mcelog does not work. Description: This patch adds support for poll() to /dev/mcelog.

Re: [PATCH] x86_64: support poll() on /dev/mcelog

2007-04-29 Thread Tim Hockin
Crap - I have just got soft lockup detected. Back to debug. Call Trace: [] wake_up_process+0x10/0x20 [] softlockup_tick+0xea/0x110 [] run_local_timers+0x13/0x20 [] update_process_times+0x57/0x90 [] mcheck_check_cpu+0x0/0x40 [] smp_local_timer_interrupt+0x34/0x60 []

[PATCH] x86_64: support poll() on /dev/mcelog

2007-04-29 Thread Tim Hockin
From: Tim Hockin <[EMAIL PROTECTED]> Background: /dev/mcelog is typically polled manually. This is less than optimal for some situations. Calling poll() on /dev/mcelog does not work. Description: This patch adds support for poll() to /dev/mcelog. This results in immediate wakeup of user

[PATCH] x86_64: support poll() on /dev/mcelog

2007-04-29 Thread Tim Hockin
From: Tim Hockin [EMAIL PROTECTED] Background: /dev/mcelog is typically polled manually. This is less than optimal for some situations. Calling poll() on /dev/mcelog does not work. Description: This patch adds support for poll() to /dev/mcelog. This results in immediate wakeup of user

Re: [PATCH] x86_64: support poll() on /dev/mcelog

2007-04-29 Thread Tim Hockin
Crap - I have just got soft lockup detected. Back to debug. Call Trace: IRQ [80227e80] wake_up_process+0x10/0x20 [8025361a] softlockup_tick+0xea/0x110 [80235d53] run_local_timers+0x13/0x20 [80235e67] update_process_times+0x57/0x90 [802116b0]