Hello,
I have a question regarding calling write() from an interrupt context
in the kernel:
is it possible ?

There is an article about reading/writing files from the kernel
by GregKH; see: http://interactive.linuxjournal.com/article/8110

Everybody (including the author) admits that reading/writing files from
the kernel is not recommended at all.
Yet, because of my interest in this, I tried it and it works.
However, when trying write() from interrupt context it will not work
because write() can sleep.

Is there a way to call write() from interrupt context ? some special filesystem
or patch?
I found a dumpfs patch;
but it was not tested yet; moreover, it is a patch against 2.6.8-rc2 and as
it seems it was abandoned.
see
http://lwn.net/Articles/94748/?format=printable

Any ideas?
Regards,


Ian
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to