Re: safe_smp_processor_id i386 and x86_64

From: Eric W. Biederman
Date: Wed Oct 11 2006 - 13:00:01 EST


"Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxx> writes:

> I was looking at the git log and the below changes confused me.

They are being used to solve different problems.
smp_processor_id on i386 doesn't work when a stack overflow
occurs. safe_smp_processor_id does.

On x86_64 since it is a simple register value we don't have that problem.

Eric
-
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/