Re: [PATCH 1/3] Bogus tls from gdt

From: Ingo Molnar
Date: Thu Sep 22 2005 - 04:00:41 EST



* Zachary Amsden <zach@xxxxxxxxxx> wrote:

> The per-CPU initialization code is copying in bogus data into
> thread->tls_array. Note that it copies &per_cpu(cpu_gdt_table, cpu),
> not &per_cpu(cpu_gdt_table, cpu)[GDT_ENTRY_TLS_MIN). That is totally
> broken and unnecessary. Make the initialization explicitly NULL.
>
> Signed-off-by: Zachary Amsden <zach@xxxxxxxxxx>

Acked-by: Ingo Molnar <mingo@xxxxxxx>

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/