Re: [PATCH 2/3] x86: add safe_smp_processor_id for x86_64

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Hiroshi Shimamoto <h-shimamoto@...>
Cc: <hbabu@...>, <tglx@...>, <linux-kernel@...>, <kexec@...>, Fernando Luis Vazquez Cao <fernando@...>
Date: Wednesday, October 24, 2007 - 2:31 am

On Fri, Oct 19, 2007 at 06:23:02PM -0700, Hiroshi Shimamoto wrote:

Can you please implement a patch for safe_smp_processor_id() instead of
using smp_processor_id(). safe_smp_processor_id() was introduced to make
sure that we are not dependent on the stack of threads after kernel has
crashed instead read the apic id and convert it to cpu id with other
data structures. This helped in stack overflow case.

Hardcoding it to smp_processor_id() will give the false impression.

Thanks
Vivek
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] x86: unify crash_32/64.c, Hiroshi Shimamoto, (Fri Oct 19, 9:18 pm)
Re: [PATCH 0/3] x86: unify crash_32/64.c, Vivek Goyal, (Wed Oct 24, 2:34 am)
Re: [PATCH 0/3] x86: unify crash_32/64.c, Hiroshi Shimamoto, (Wed Oct 24, 12:28 pm)
Re: [PATCH 0/3] x86: unify crash_32/64.c, Hiroshi Shimamoto, (Thu Oct 25, 1:58 pm)
Re: [PATCH 0/3] x86: unify crash_32/64.c, Hiroshi Shimamoto, (Fri Oct 26, 5:43 pm)
Re: [PATCH 0/3] x86: unify crash_32/64.c, Thomas Gleixner, (Fri Oct 26, 6:37 pm)
Re: [PATCH 0/3] x86: unify crash_32/64.c, Hiroshi Shimamoto, (Fri Oct 26, 8:13 pm)
Re: [PATCH 0/3] x86: unify crash_32/64.c, Hiroshi Shimamoto, (Fri Oct 26, 9:15 pm)
Re: [PATCH 0/3] x86: unify crash_32/64.c, Thomas Gleixner, (Sat Oct 20, 6:50 am)
[PATCH 3/3] x86: unify crash_32/64.c, Hiroshi Shimamoto, (Fri Oct 19, 9:24 pm)
[PATCH 2/3] x86: add safe_smp_processor_id for x86_64, Hiroshi Shimamoto, (Fri Oct 19, 9:23 pm)
Re: [PATCH 2/3] x86: add safe_smp_processor_id for x86_64, Vivek Goyal, (Wed Oct 24, 2:31 am)
Re: [PATCH 1/3] x86: add lapic_shutdown for x86_64, Hiroshi Shimamoto, (Fri Oct 19, 9:21 pm)
Re: [PATCH 1/3] x86: add lapic_shutdown for x86_64, Vivek Goyal, (Wed Oct 24, 2:29 am)
[PATCH] Revert x86: add lapic_shutdown for x86_64, Hiroshi Shimamoto, (Mon Oct 29, 6:39 pm)
Re: [PATCH] Revert x86: add lapic_shutdown for x86_64, Arjan van de Ven, (Mon Oct 29, 7:15 pm)
Re: [PATCH] Revert x86: add lapic_shutdown for x86_64, Hiroshi Shimamoto, (Mon Oct 29, 8:05 pm)
Re: [PATCH] Revert x86: add lapic_shutdown for x86_64, Thomas Gleixner, (Mon Oct 29, 9:06 pm)
Re: [PATCH 1/3] x86: add lapic_shutdown for x86_64, Hiroshi Shimamoto, (Wed Oct 24, 5:27 pm)
Re: [PATCH 1/3] x86: add lapic_shutdown for x86_64, Eric W. Biederman, (Wed Oct 24, 8:28 pm)
Re: [PATCH 1/3] x86: add lapic_shutdown for x86_64, Hiroshi Shimamoto, (Mon Oct 29, 6:45 pm)