Messages in this thread | | | Date | Wed, 16 Jun 2004 18:43:20 +1000 | From | Nick Piggin <> | Subject | Re: [2.4] build error with latest BK |
| |
David Howells wrote: >>- put_task_struct(tsk); >>+ task_unlock(tsk); > > > Ummm... that doesn't look right. > > >>- get_task_struct(tsk); > > > This is necessary to stop someone deallocating the task structure, can the > task structure be deallocated whilst locked? >
Ooh maybe it can. Should that be a read_lock of the tasklist lock then? - 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/
| |