Re: Fw: 2.5.61 oops running SDET

Zwane Mwaikambo
2003-02-16T02:40:00Z

On Sat, 15 Feb 2003, Martin J. Bligh wrote:

> - struct mm_struct *mm = get_task_mm(task);
> + struct mm_struct *mm;
>
> + task_lock(task);
> + mm = __get_task_mm(task);
> buffer = task_name(task, buffer);
> buffer = task_state(task, buffer);

task_state acquires the task_struct lock.

Zwane
--
function.linuxpower.ca