Skip to contentSkip to conversation

Kernel memory mapped into user process

DISCUSSION Shashi Kiran T.R. 1 participant 1 message May 23, 2001

lore
Share & tools
lore
#0 lore raw

Hi ,

I have a proposition at hand to optimize getting system time by
avoiding
the system call(gettimeofday()) overhead. This can be implemented by keeping a read-only page of kernel memory mapped into user processes for reading quickly. A kernel process can keep that page up-to-date.

I did some browsing of this mailing list archives to get the
following related
topics:
* mapping user space buffer to kernel address space
* Direct I/O
* Zero Copy IO
None of these seem to specifically address my problem.

So can the experienced please throw some light on the issues involved in having a read-only page of kernel memory mapped into user process. Any help/suggestions will be much appreciated. Please CC your comments to "[email protected]"

Thanks and Regards,
Shashi