From: John L. <le...@mo...> - 2003-04-22 14:42:06
|
On Tue, Apr 22, 2003 at 10:31:03AM -0400, Will Cohen wrote: > I am looking through the Linux 2.5.68 code and I noticed in oprof.c that > both oprofile_setup() and oprofile_start() use the start_sem mutex when > accessing is_setup. However, oprofile_shutdown() does not use start_sem > when accessing is_setup. The access Should oprofile_shutdown() be using > the start_sem mutex when accessing is_setup? Hmm, possibly. The usage of start_sem seems quite dubious to me looking at it now. regards john |