msqid_ds/semid_ds/shmid_ds and time fields

Steve Munroe sjmunroe at us.ibm.com
Tue Oct 8 00:44:03 EST 2002


Anton Blanchard writes:

> > Can anyone point me to the kernel discussions about adding sub-seconds
to
> > structs used in these syscalls?
>
> Its beginning. Andi just posted this to linux-kernel with the subject:
> [PATCH] struct timespec for stat
>
> diff -burp -X ../KDIFX linux/include/asm-ppc64/stat.h
linux-2.5.40-work/include/asm-ppc64/stat.h
> --- linux/include/asm-ppc64/stat.h             2002-09-25
00:59:27.000000000 +0200
> +++ linux-2.5.40-work/include/asm-ppc64/stat.h             2002-10-05
18:46:15.000000000 +0200
> @@ -36,15 +36,17 @@ struct stat {
> ...

OK this is stat, and we follow the other 64-bit archs which retain the
pads. So we are OK. I can see why they want some solution to this because
Make is having difficulties with file time stamps on fast machines.

But the patches that Drepper rejected where for msq.h, sem.h, and shm.h
(msqid_ds, semid_ds, shmid_ds). Here the other 64-bit archs removed the
pads an left 64-bit time_t only.

Any discussion about changing these structs?


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list