file operations in kernel module

From: Peter Rusedski (
Date: Fri Jun 13 2003 - 08:29:11 EST


I am writing a kernel module for which I need to
access a file from within the module. I have source of
the same using normal open, read and close operations
already written.

My questions are
What is the best approach to do the same in kernel
Are there any constraints on maximum memory a module
can use.

Thanks in advance and apologies if I am at wrong

Have a nice time,


Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:36 EST