Subject: Re: Should RAS processing be done elsewhere?
To: Jason Thorpe <thorpej@shagadelic.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 03/09/2007 20:42:46
On Fri, Mar 09, 2007 at 12:14:20PM -0800, Jason Thorpe wrote:
> I was thinking...
> 
> User-space RAS processing is currently done in the context switch  
> path.  Couldn't we instead move it to mi_userret()?

Presumably you really only want to do it when:
1) You aren't in a normal system call
and
2) you've done a context switch

If you can't check (1) then context switches happen less often than
returns to userspace.

	David

-- 
David Laight: david@l8s.co.uk