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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Sunday, October 14, 2007 - 3: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, 2:54 pm)
Re: [PATCH] Hook compat_sys_nanosleep up to high res timer ..., Arnd Bergmann, (Sun Oct 14, 3:28 pm)
[PATCH] Hook compat_sys_nanosleep up to high res timer code, Anton Blanchard, (Sun Oct 14, 11:43 pm)
[PATCH] Hook compat_sys_nanosleep up to high res timer code, Anton Blanchard, (Mon Oct 15, 2:13 pm)