From: Matthew Wilcox Date: Fri, 8 Sep 2006 11:43:44 +0000 (-0600) Subject: [PARISC] Enable interrupts while spinning X-Git-Tag: v2.6.19-rc1~34^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65ee8f0a7fc2f2267b983f1f0349acb8f19db6e6;p=pandora-kernel.git [PARISC] Enable interrupts while spinning Use the __raw_spin_lock_flags routine so we can take an interrupt while spinning. This re-fixes a bug jejb found on 2005-10-20: CPU0 does a flush_tlb_all holding the vmlist_lock for write. CPU1 tries a cat of /proc/meminfo which tries to acquire vmlist_lock for read CPU1 is now spinning with interrupts disabled CPU0 tries to execute a smp_call_function to flush the local tlb caches This is now a deadlock because CPU1 is spinning with interrupts disabled and can never receive the IPI Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin --- Reading git-diff-tree failed