lkml.org 
[lkml]   [2009]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] x86: Use pt_regs pointer in do_device_not_available()
Brian Gerst wrote:
> On Wed, Feb 11, 2009 at 9:42 AM, Tejun Heo <tj@kernel.org> wrote:
>> Brian Gerst wrote:
>>> I don't quite follow what you are trying to say here. Are you saying
>>> use the same calling convention for the exception handlers (anything
>>> called from error_code) and system calls?
>> Yeap.
>
> Doesn't make sense to me, two very fundamentally different things. I
> supposed you could eliminate the error_code parameter, but that's alot
> of work to remove just one instruction.

I don't think they're fundamentally different. Well, I guess it all
depends on how you look at it. Those are just functions called after
kernel entry with register stack frame as argument. Some might have
more fields others might not.

I don't think having two conventions is too bad, so whether to do this
or not is basically a cleanup decision. Eh... if you feel like doing
it, please go ahead. If not, well, maybe somebody will do it someday
(or not). :-)

Thanks.

--
tejun


\
 
 \ /
  Last update: 2009-02-11 15:57    [W:0.230 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site