Re: [V3 PATCH] x86: avoid calling arch_trigger_all_cpu_backtrace() at the same time on SMP

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: DDD
Date: Thursday, November 11, 2010 - 7:38 pm

Dongdong Deng wrote:

Hi Don,

    The clear_bit() on x86 (arch/x86/include/asm/bitops.h) does not 
contain a memory barrier, Could you add a memory barrier ops here when 
you pick up this patch?

+	clear_bit(0, &backtrace_flag);
+	smp_mb__after_clear_bit();


Thanks,
Dongdong


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

Messages in current thread:
Re: [V3 PATCH] x86: avoid calling arch_trigger_all_cpu_bac ..., DDD, (Thu Nov 11, 7:38 pm)