current->files 2.2.0pre4

David Grothe (dave@gcom.com)
Thu, 07 Jan 1999 14:19:22 -0600


I have a character driver that when its open routine is called for the
first time the pointer current->files is NULL. This in spite of the
fact that the sys_open routine has just used that pointer a few
instructions ago.

This happens with the kernel compiled with SMP set. If I unset SMP then
there is no problem. I notice that there is a difference in how task
structures are allocated depending upon the SMP switch but it is not
obvious to me that this is the problem.

I realize that this is not much of a hint, so if anyones wants to chase
this, e-mail me directly and I'll see what I can do to gather more
information.

Version info:

$ cat /proc/version
Linux version 2.2.0-pre4 (root@linux-dev2.gcom1.com) (gcc version
2.7.2.3) #5 Thu Jan 7 12:55:07 CST 1999

-- Dave

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