Re: x86, mce, Use user return notifier in mce

From: Avi Kivity
Date: Tue Jan 24 2012 - 09:40:27 EST


On 01/13/2012 09:41 AM, Tony Luck wrote:
> On Thu, Jan 12, 2012 at 10:32 PM, Huang Ying <ying.huang@xxxxxxxxx> wrote:
> > You are right. User return notifier can not be used for SRAR. I think
> > that may be useful for SRAO. Where we need a way to do notify earlier
> > in case of the corresponding work_queue item is not executed in time.
>
> OK - I've been so focused on SRAR that I didn't think of the SRAO case.
> But even there it seems odd to use user return notifier. We'd like the
> SRAO work item to be executed promptly - but we don't care where it
> is executed. So the "execute on this cpu" part of user return notifiers
> doesn't quite fit.
>

Also, nothing bounds the time until a urn executes. If the cpu stays in
the kernel forever, it will never fire.

--
error compiling committee.c: too many arguments to function

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