Messages in this thread | | | Date | Wed, 9 Mar 2005 16:34:04 +0530 | From | Suparna Bhattacharya <> | Subject | Re: aio stress panic on 2.6.11-mm1 |
| |
Any sense of how costly it is to use spin_lock_irq's vs spin_lock (across different architectures) ? Isn't rwsem used very widely ?
Regards Suparna
On Wed, Mar 09, 2005 at 10:33:58AM +0000, David Howells wrote: > Andrew Morton <akpm@osdl.org> wrote: > > > If we want to take the spinlock from interrupt context, the non-interrupt > > context code needs to do spin_lock_irq(), not spin_lock(). > > Yeah. I think I had a patch for that somewhere, but I think Linus turned it > down. I can't find any emails on that subject though. I'll knock together a > new patch for it. > > David > -- > To unsubscribe, send a message with 'unsubscribe linux-aio' in > the body to majordomo@kvack.org. For more info on Linux AIO, > see: http://www.kvack.org/aio/ > Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
-- Suparna Bhattacharya (suparna@in.ibm.com) Linux Technology Center IBM Software Lab, India
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |