Messages in this thread |  | | | From | kwr@kwr ... | | Subject | Re: Counting System Calls | | Date | Fri, 17 Apr 1998 17:13:22 -0500 (CDT) |
| |
And lo, MOLNAR Ingo saith unto me: > but there is a granularity problem i think. With modules we 'waste' about > 2K per module due to 4K page sizes. (every module has to have it's own set > of pages). With 183 syscalls we'd waste much more 'partial pages', about > 183*2K=366K resident memory, brrr.
The only reason to advocate as 1:1 system call:syscall module ratio would be getting such timers "for free". In real life, I think you want to modularize in somewhat larger chunks than a single syscall, and if you modularize a syscall there's probably a good bit of related code that can go into the same module, since only that syscall (or those few syscalls) uses it...
If someone really wants a syscall count, they should just count the syscalls and skip the Rube Goldberg bit with the modules.
Keith
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
|  |