ipc: update semtimedop() to use hrtimer
authorPrakash Sangappa <prakash.sangappa@oracle.com>
Tue, 10 May 2022 01:29:20 +0000 (18:29 -0700)
committerakpm <akpm@linux-foundation.org>
Tue, 10 May 2022 01:29:20 +0000 (18:29 -0700)
commit49c9dd0df65d547a58642d2f717eeb560e1db140
treebe0dd5509e678797c2c6aa07ff5acffc15b52a44
parent0e900029655327bb5326ced02eff97667a079039
ipc: update semtimedop() to use hrtimer

semtimedop() should be converted to use hrtimer like it has been done for
most of the system calls with timeouts.  This system call already takes a
struct timespec as an argument and can therefore provide finer granularity
timed wait.

Link: https://lkml.kernel.org/r/1651187881-2858-1-git-send-email-prakash.sangappa@oracle.com
Signed-off-by: Prakash Sangappa <prakash.sangappa@oracle.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ipc/sem.c