Hello.
I have idea to modify falloc() function and related logic.
Now, after successful faclloc call,  we have half-initialized struct file 
object, protected by FIF_LARVAL flag.
I want to initialise struct file object within falloc() and then put it to 
fd_ofiles array and filehead list. This modification
permits to avoid half-initialization state and remove FIF_LARVAL flag and 
related logic.
After, I want to protect struct file by rwlock, add something like SY_NOLOCK 
flag and logic and begin
to move related syscalls from KERNEL_LOCK. What do you think about?

Reply via email to