Re: Best method for sending messages to user space?

From: Timur Tabi
Date: Tue Oct 21 2008 - 15:51:09 EST

Dan Williams wrote:

> I really like the sysfs_notify() approach that Neil Brown has put
> together for delivering md-raid events.

Is there any documentation for sysfs_notify? It doesn't appear to do anything
whenever I call it.

> Now with 2.6.28 you will be
> able do this from an atomic context with sysfs_notify_dirent() [1].

That sounds like something I could use.

Kumar, can you update the repository I'm using to include sysfs_notify_dirent()?

Timur Tabi
Linux kernel developer at Freescale
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at