Re: small bug in 2.1.103 fs/proc/array.c

C. Scott Ananian (cananian@lcs.mit.edu)
Fri, 22 May 1998 16:59:12 -0400 (EDT)


Tigran Aivazian <tigran@sco.COM> wrote:

> Yesterday I was browsing 2.1.102 source and found what I believe to be a
> bug [...]

> Since the correct way to call find_task_by_pid() is probably after
> read_lock(&tasklist_lock) the first initialisation of tsk is unnecessary.
>
> Am I missing something?

None that I can see. Make a patch and ship it to Linus.
I'm guessing we just had two overlapping fixes here.
--Scott
@ @
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-oOO-(_)-OOo-=-=-=-=-=
C. Scott Ananian: cananian@lcs.mit.edu / Declare the Truth boldly and
Laboratory for Computer Science/Crypto / without hindrance.
Massachusetts Institute of Technology /META-PARRESIAS AKOLUTOS:Acts 28:31
-.-. .-.. .. ..-. ..-. --- .-. -.. ... -.-. --- - - .- -. .- -. .. .- -.
PGP key available via finger and from http://www.pdos.lcs.mit.edu/~cananian

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu