lkml.org 
[lkml]   [2011]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 07/10] MCE: replace mce.c use of TIF_MCE_NOTIFY with user_return_notifier
On 06/10/2011 12:35 AM, Luck, Tony wrote:
> From: Tony Luck<tony.luck@intel.com>
>
> Ingo wrote:
> > We already have a generic facility to do such things at
> > return-to-userspace: _TIF_USER_RETURN_NOTIFY.
>
> This just a proof of concept patch ... before this can become
> real the user-return-notifier code would have to be made NMI
> safe (currently it uses hlist_add_head/hlist_del, which would
> need to be changed to Ying's NMI-safe single threaded lists).

You could use irq_work_queue() to push this into an irq context, which
is user-return-notifier safe.

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



\
 
 \ /
  Last update: 2011-06-12 10:33    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean