If the end result costs us an extra page in an __init section, I won't
care. Not having seen a patch posted, I can't see how much space this
will take up. I may be worrying about nothing.
Actually, I suppose this is where Linus' syscall classes may come into
play. It's not something user-space should care about (referring back
to my jump table proposal), but it can make it easy for the kernel to
populate the jump table with a minimum of code.
For each syscall class and each implementation/CPU type, a function
can be called to populate N entries in the jump table. So with 3
classes and maybe 4 implementation/CPU types (I hope this is being
pessimistic), we have 12 functions in an __init section.
OK, I'm feeling much better about the whole idea. It looks like it
won't cause much bloat after all.
Linus: what do you think about the jump table idea? I really think
that user-space shouldn't have to worry about syscall classes. All
syscalls should have the same interface. It may not be as totally
optimised as some other proposals, but it should be close (within a
few cycles). And it's a lot simpler and cleaner, while still giving us
full flexibilty with the same ABI for all time.
Regards,
Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/