public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* safe_smp_processor_id i386 and x86_64
@ 2006-10-06 16:32 Aneesh Kumar K.V
  2006-10-11 16:58 ` Eric W. Biederman
  0 siblings, 1 reply; 2+ messages in thread
From: Aneesh Kumar K.V @ 2006-10-06 16:32 UTC (permalink / raw)
  To: linux-kernel

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

dc2bc768a009b9ad8711894c544dc6b0d8c0ce57

commit dc2bc768a009b9ad8711894c544dc6b0d8c0ce57
Author: Fernando Vazquez <fernando@intellilink.co.jp>
Date:   Sat Sep 30 23:29:07 2006 -0700

    [PATCH] stack overflow safe kdump: safe_smp_processor_id()

..............

   This patch set does the following:

    * Add safe_smp_processor_id function to i386 architecture (this function was
      inspired by the x86_64 function of the same name).

151f8cc1169f9052095b2be36183ab132d75c6c2

commit 151f8cc1169f9052095b2be36183ab132d75c6c2
Author: Andi Kleen <ak@suse.de>
Date:   Tue Sep 26 10:52:37 2006 +0200

    [PATCH] Remove safe_smp_processor_id()




-aneesh


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: safe_smp_processor_id i386 and x86_64
  2006-10-06 16:32 safe_smp_processor_id i386 and x86_64 Aneesh Kumar K.V
@ 2006-10-11 16:58 ` Eric W. Biederman
  0 siblings, 0 replies; 2+ messages in thread
From: Eric W. Biederman @ 2006-10-11 16:58 UTC (permalink / raw)
  To: Aneesh Kumar K.V; +Cc: linux-kernel

"Aneesh Kumar K.V" <aneesh.kumar@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-11 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-06 16:32 safe_smp_processor_id i386 and x86_64 Aneesh Kumar K.V
2006-10-11 16:58 ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox