Kernel memory mapped into user process

2001-05-22 Thread Shashi Kiran T.R.

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Kernel memory mapped into user process

2001-05-22 Thread Shashi Kiran T.R.

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

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/