[lkml]   [2002]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] linux-2.5.43_vsyscall_A0
This may be way out there, but has any consideration been
given to high speed system calls. I have worked on systems
where this was done for selected calls. Only selected state
was saved. Only fast calls such as getpid, gettimeofday,
etc. were allowed. The calls were still executed in system
pages so there was still the context switch (i.e. the trap
overhead) but very little state save/ restore. It used a
different trap number so it did not impact the standard

You would need to defeat the standard way of checking if in
the system so the standard system calls and interrupt code
would think user space was executing. As I recall there was
some mapping tricks played so that while not actually in the
system map, it was still available.

I had only a brief encounter with these calls so I may not
have all the details right :(
George Anzinger
Preemption patch:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:30    [W:0.083 / U:3.176 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site