Messages in this thread | | | Date | Wed, 24 Jul 2002 10:06:28 +0200 (CEST) | From | Ingo Molnar <> | Subject | Re: [patch] irqlock patch -G3. [was Re: odd memory corruptionin2.5.27?] |
| |
On Wed, 24 Jul 2002, William Lee Irwin III wrote:
> Since we're on the subject of preempt_schedule() being done at > inappropriate times, I'm seeing it being called and panicking the > machine before the per-cpu GDT, IDT, TSS, and LDT are loaded in > cpu_init() and suspect that may be a wee bit too early to be sane.
i've fixed this in my tree: the init thread needs to start up with a nonzero preempt_count, and schedule_init() sets it to 0. [schedule_init() is the point after we can schedule.]
Ingo
- 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/
| |