On Mon, Mar 03, 2025 at 10:17:21AM +0100, Peter Skvarka wrote:
> > representation for anything the kernel deals with?
> For example for scheduling some event to first day of week or monthday and
> this scheduling must be calculated in kernel module. I am porting functional
> code to NetBSD.

It is hard to believe that this *must* happen inside the kernel module.
Can you explain more details of the overall data flow? Why would the kernel
care for something like a week?

The kernel can schedule an event at arbitrary times in the future, and
those can be represented as timespec, timeval or even plain seconds.
Deciding on the next event usually depends on configuration and other
userland stuff, so the time conversion is done in userland.

Martin

Reply via email to