Skip to contentSkip to conversation

Bug 12665

DISCUSSION John de la Garza 2 participants 4 messages Dec 17, 2013 – Jan 2, 2014

lore
Share & tools
lore
#0 lore raw

I found a bug that appears to be simple to fix. I assume I am missing something.

here is a link to the bug description:
https://bugzilla.kernel.org/show_bug.cgi?id=12665

the man page for the function in the bug report mentions that linux does not impliment the desired functionality

It seems like it is accepted as working the way it does, and at the same time it is reported in bugzilla as a current bug.

What am I missing?

#1 lore raw

reading the specs:

http://pubs.opengroup.org/onlinepubs/7908799/xsh/timer_gettime.html

the DELAYTIMER_MAX is for realtime POSIX.

but Linux is based on http://en.wikipedia.org/wiki/Linux_Standard_Base,
which is LSB.

There is no direct mapping between LSB and POSIX, but perhaps this:

http://man7.org/linux/man-pages/man7/time.7.html

and

http://pubs.opengroup.org/onlinepubs/7908799/xsh/timer_gettime.html

Look carefully between the two and you can perhaps find the balancing point u will need for implementing this feature.

whether it is a kernel bug, or userspace bug is therefore highly controversial.

Quoted 23 lines · John de la Garza

I found a bug that appears to be simple to fix. I assume I am missing something.

here is a link to the bug description:
https://bugzilla.kernel.org/show_bug.cgi?id=12665

the man page for the function in the bug report mentions that linux does not impliment the desired functionality

It seems like it is accepted as working the way it does, and at the same time it is reported in bugzilla as a current bug.

What am I missing?

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 5 lines
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131224/e88446b5/attachment.html 
author
#2 lore raw
Quoted 7 lines · Peter Teoh

the DELAYTIMER_MAX is for realtime POSIX.

but Linux is based on http://en.wikipedia.org/wiki/Linux_Standard_Base,
which is LSB.

There is no direct mapping between LSB and POSIX, but perhaps this:

Quoted 8 lines

http://man7.org/linux/man-pages/man7/time.7.html

and

http://pubs.opengroup.org/onlinepubs/7908799/xsh/timer_gettime.html

Look carefully between the two and you can perhaps find the balancing point u will need for implementing this feature.

Thanks for the explanation. I was just looking at bugs in bugzilla that I could actually reproduce. I'm just getting started with kernel programming and am looking for bugs I can observe.

#3 lore raw

this list (Linux-API) focus on adding new API to the linux platform. So
perhaps this one about timing may get you started:

http://www.spinics.net/lists/linux-api/msg02243.html

or in general:

https://www.google.com.sg/search?q=site%3Awww.spinics.net%2Flists%2Flinux-api%2F+time

Quoted 23 lines · johnd
Quoted 7 lines · Peter Teoh

the DELAYTIMER_MAX is for realtime POSIX.

but Linux is based on http://en.wikipedia.org/wiki/Linux_Standard_Base,
which is LSB.

There is no direct mapping between LSB and POSIX, but perhaps this:

Quoted 7 lines

http://man7.org/linux/man-pages/man7/time.7.html

and

http://pubs.opengroup.org/onlinepubs/7908799/xsh/timer_gettime.html

Look carefully between the two and you can perhaps find the balancing

point

Quoted 1 line

u will need for implementing this feature.

Thanks for the explanation. I was just looking at bugs in bugzilla that I could actually reproduce. I'm just getting started with kernel programming and am looking for bugs I can observe.

Signature · 5 lines
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140103/f050c07b/attachment.html