userspace notification from module

From: BartÅomiej ZimoÅ
Date: Sat Jan 02 2010 - 07:19:15 EST


Hi List!
My name is BartÅomiej ZimoÅ.

Need some clue to find solution for above topic.
Have written small kernel module to notify userspace about couple events.

The problem is to choose proper way to send data to userspace.

Use inotify from userspace could be interesting for such data,
but looks like sysfs/procfs doesn't send signal about data changed in file or maybe i'm wrong?

If sysfs/procfs is wrong for that so must create device file, but here secound problem
how to notify that file/buffer has new data?

Please give me some light for such case.
Links to working solutions are also good.

Thanks in advice.

BartÅomiej ZimoÅ
PLD Linux devel, Kadu Team devel


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/