Page 1 of 1

RTC clock in kernel or user space

Posted: Wed Feb 21, 2007 6:57 am
by os64dev
Hi all,

currently i'm busy with the RTC clock and am wondering in what address space to put the handler in either user space or kernel space. I don't think the kernel needs to know about the clock and date but applications might. I've tested both locations and it works. The advantage of having it in application space means that there is no privilege transition and thus slightly faster.

what do you guys/girls think.

regards

Posted: Wed Feb 21, 2007 7:22 am
by Phoenix
I think it should be in kernel space. Kernel space is already a shared section between process, but if you put it in user space, you probably need an extra shared&protected space.