public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Relay Subsystem the 2nd.
@ 2006-08-22 23:49 Bjo Breiskoll
  2006-08-23  0:57 ` Paul Mundt
  0 siblings, 1 reply; 3+ messages in thread
From: Bjo Breiskoll @ 2006-08-22 23:49 UTC (permalink / raw)
  To: Linux-Kernel@Vger. Kernel. Org

Hello,
back to my question last week. I would like to implement a new kernel-modul
with the ability to write data from kernelspace to userspace via the new
relay subsystem. The less info from block/blktrace.c is insufficient
unfortunately. The userspace-program should be able to "listen" to the
kernel-modul if there is new data written. My first Implementation with data
exchange over copy_to_user() and a char-device is insufficient. So i need an
hint for something like blocked-IO for relay-files. Is this possible with
the new relay-subsystem?
 
Thanx in advance
BJO


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Relay Subsystem the 2nd.
  2006-08-22 23:49 Relay Subsystem the 2nd Bjo Breiskoll
@ 2006-08-23  0:57 ` Paul Mundt
  2006-08-26  8:28   ` AW: " Bjo Breiskoll
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Mundt @ 2006-08-23  0:57 UTC (permalink / raw)
  To: Bjo Breiskoll; +Cc: Linux-Kernel@Vger. Kernel. Org

On Wed, Aug 23, 2006 at 01:49:29AM +0200, Bjo Breiskoll wrote:
> back to my question last week. I would like to implement a new kernel-modul
> with the ability to write data from kernelspace to userspace via the new
> relay subsystem. The less info from block/blktrace.c is insufficient
> unfortunately. The userspace-program should be able to "listen" to the
> kernel-modul if there is new data written. My first Implementation with data
> exchange over copy_to_user() and a char-device is insufficient. So i need an
> hint for something like blocked-IO for relay-files. Is this possible with
> the new relay-subsystem?
>  
Is there something insufficient with poll() on relay files?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* AW: Relay Subsystem the 2nd.
  2006-08-23  0:57 ` Paul Mundt
@ 2006-08-26  8:28   ` Bjo Breiskoll
  0 siblings, 0 replies; 3+ messages in thread
From: Bjo Breiskoll @ 2006-08-26  8:28 UTC (permalink / raw)
  To: Linux-Kernel@Vger. Kernel. Org

> Is there something insufficient with poll() on relay files?

Sometimes the solution is easy like that.
Thanks .. It works :)

BJO


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-26  8:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-22 23:49 Relay Subsystem the 2nd Bjo Breiskoll
2006-08-23  0:57 ` Paul Mundt
2006-08-26  8:28   ` AW: " Bjo Breiskoll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox