* Karsten Wiese <[EMAIL PROTECTED]> wrote:

> work_resched:
>       DISABLE_INTERRUPTS
>       call __schedule
>                                       # make sure we don't miss an interrupt
>                                       # setting need_resched or sigpending
>                                       # between sampling and the iret
>       movl TI_flags(%ebp), %ecx
>       andl $_TIF_WORK_MASK, %ecx      # is there any work to be done other
>                                       # than syscall tracing?
>       jz restore_all
>       testl $(_TIF_NEED_RESCHED|_TIF_NEED_RESCHED_DELAYED), %ecx
>       jnz work_resched
> 
> The hwclock page_fault happens at the
>       movl TI_flags(%ebp), %ecx
> line.

hm, weird - maybe something corrupts %ebp here? Could you try to add 
this to before the faulting instruction:

        GET_THREAD_INFO(%ebp)

this will make sure %ebp has the right contents.

        Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to