Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb flushes to use function calls [POST 2]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Tuesday, August 19, 2008 - 7:58 am

Ingo Molnar wrote:

Are you sure?  I thought this is exactly the case where
spin_lock_nest_lock() is supposed to be used?  Admittedly it's very
simple, but the extra lock does two things: 1) it guarantees that the
queue locks can be taken in any order, and 2) it's a single lock on
which we can do spin_lock_irq(), rather than doing it in the loop for
each individual lock (which I think was bogus).

I don't see how it weakens lockdep in any way.  Does it hide any
potential lock misuse?

    J

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

Messages in current thread:
[PATCH 0 of 9] x86/smp function calls: convert x86 tlb flu ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 1 of 9] x86: put tlb_flush_others() stats in debugfs, Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 2 of 9] x86-32: use smp_call_function_mask for SMP ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 3 of 9] x86-64: use smp_call_function_mask for SMP ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 4 of 9] x86: make tlb_32|64 closer, Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 5 of 9] x86: unify tlb.c, Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 6 of 9] smp_function_call: add multiple queues for ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 7 of 9] x86: add multiple smp_call_function queues, Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 8 of 9] x86: make number of smp_call_function queue ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
[PATCH 9 of 9] smp function calls: add kernel parameter to ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:23 am)
Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb ..., Jeremy Fitzhardinge, (Mon Aug 18, 10:37 pm)
Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb ..., Jeremy Fitzhardinge, (Mon Aug 18, 11:18 pm)
Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb ..., Jeremy Fitzhardinge, (Tue Aug 19, 12:44 am)
Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb ..., Jeremy Fitzhardinge, (Tue Aug 19, 1:04 am)
Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb ..., Jeremy Fitzhardinge, (Tue Aug 19, 7:58 am)
Re: [PATCH 0 of 9] x86/smp function calls: convert x86 tlb ..., Jeremy Fitzhardinge, (Tue Aug 19, 7:58 am)