Messages in this thread | | | Date | Sun, 28 Nov 2004 15:20:27 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [PATCH] use pid_alive in proc_pid_status |
| |
On Sun, 28 Nov 2004, Manfred Spraul wrote: > > What do you think? Are you aware of further instances where p->pid is > still used to check if a thread is alive?
Looks good, except I hate how you have a function that does a single pointer derefence and a test.
There are cases where inline functions bloat up the code, but there are cases where a function call is bigger than the function body. This seems to be one of them.
Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |