Thread (2 messages) flat view 2 messages, 1 author, 2012-11-14
STALE5018d

[PATCH 0/1] powerpc/vdso: remove redundant locking in update_vsyscall_tz()

From: Shan Hai <hidden>
Date: 2012-11-09 01:58:36

The locking in update_vsyscall_tz() is not only unnecessary because the vdso
code copies the data unproteced in __kernel_gettimeofday() but also
introduces a hard to reproduce race condition between update_vsyscall()
and update_vsyscall_tz(), which causes user space process to loop
forever in vdso code.

The following patch removes the locking from update_vsyscall_tz().

---
 arch/powerpc/kernel/time.c |    5 -----
 1 file changed, 5 deletions(-)

Thanks
Shan Hai

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help