Re: [PATCH] Hook compat_sys_nanosleep up to high res timer code

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linuxppc-dev@...>
Cc: Anton Blanchard <anton@...>, <mingo@...>, <tglx@...>, <linux-kernel@...>
Date: Sunday, October 14, 2007 - 6:28 pm

On Sunday 14 October 2007, Anton Blanchard wrote:

The code looks correct, but I think it would be nicer to change 
hrtimer_nanosleep to take a kernel pointer and have all three
callers (common_nsleep, sys_nanosleep and compat_sys_nanosleep)
do the copy_to_user/put_compat_timespec in the caller.

This would also make it possible to get rid of set_fs() in
compat_sys_clock_nanosleep().

	Arnd <><
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Hook compat_sys_nanosleep up to high res timer code, Anton Blanchard, (Sun Oct 14, 5:54 pm)
Re: [PATCH] Hook compat_sys_nanosleep up to high res timer c..., Arnd Bergmann, (Sun Oct 14, 6:28 pm)
[PATCH] Hook compat_sys_nanosleep up to high res timer code, Anton Blanchard, (Mon Oct 15, 5:13 pm)
[PATCH] Hook compat_sys_nanosleep up to high res timer code, Anton Blanchard, (Mon Oct 15, 2:43 am)