Thread (43 messages) 43 messages, 8 authors, 2011-01-06

Re: [PATCH V7 4/8] posix clocks: hook dynamic clocks into system calls

flat view

From: Richard Cochran <richardcochran@gmail.com>
Date: 2010-12-21 08:00:50
Also in: lkml, netdev

On Fri, Dec 17, 2010 at 11:03:46AM +0100, Thomas Gleixner wrote:
Doesn't the same problem exist for the file operations of patch 3? I
think you want the very same protection there unless you want to do
the same magic in your USB driver as well.
Yes, you are right. I overlooked that.
So you could do the following:
  ...
So your fops would call get_fd_clk() and put_fd_clk() and the pc_timer
ones get_posix_clock() and put_posix_clock() or whatever sensible
function names you come up with.

Thoughts ?
It is a good, concrete suggestion. I will try it that way.

Thanks,

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