On Sat, 31 Mar 2001, george anzinger wrote: > I think this should be: > if (p->has_cpu || p->state & TASK_PREEMPTED)) { > to catch tasks that were preempted with other states. But the other states are all part of the state change that happens at a non-preemtive schedule() point, aren't they, so those tasks are already safe to access the data we are protecting. Nigel Gamble [EMAIL PROTECTED] Mountain View, CA, USA. http://www.nrg.org/ MontaVista Software [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH for 2.5] preemptible... Rusty Russell
- Re: [PATCH for 2.5] preemptible... Andrea Arcangeli
- Re: [PATCH for 2.5] preemptible ker... Dipankar Sarma
- Re: [PATCH for 2.5] preemptible... george anzinger
- Re: [PATCH for 2.5] preemptible... Dipankar Sarma
- Re: [PATCH for 2.5] preemptible... Keith Owens
- Re: [PATCH for 2.5] preemptible kernel Nigel Gamble
- Re: [PATCH for 2.5] preemptible kernel Nigel Gamble
- Re: [PATCH for 2.5] preemptible kernel Rusty Russell
- Re: [PATCH for 2.5] preemptible kernel george anzinger
- Re: [PATCH for 2.5] preemptible ker... Nigel Gamble
- Re: [PATCH for 2.5] preemptible... george anzinger
- Re: [PATCH for 2.5] preemptible... Rusty Russell
- Re: [PATCH for 2.5] preemptible kernel Nigel Gamble
- Re: [PATCH for 2.5] preemptible ker... Rusty Russell
- Re: [PATCH for 2.5] preemptible kernel Roger Larsson
- Re: [PATCH for 2.5] preemptible kernel Nigel Gamble
- Re: [PATCH for 2.5] preemptible kernel george anzinger
- Re: [PATCH for 2.5] preemptible kernel Paul McKenney
- Re: [PATCH for 2.5] preemptible kernel Andi Kleen
- Re: [PATCH for 2.5] preemptible kernel Paul McKenney