[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <496383E0.50102@ftml.net>
Date: Tue, 06 Jan 2009 10:16:32 -0600
From: Roman Kononov <kononov@...l.net>
To: linux-kernel@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [patch] mm: fix lockless pagecache reordering bug (was Re: BUG:
soft lockup - is this XFS problem?)
On 2009-01-05 20:05 Nick Piggin said the following:
> Subject: mm lockless pagecache barrier fix
> static inline void *radix_tree_deref_slot(void **pslot)
> {
> - void *ret = *pslot;
> + void *ret = rcu_dereference(*pslot);
> if (unlikely(radix_tree_is_indirect_ptr(ret)))
> ret = RADIX_TREE_RETRY;
> return ret;
3 systems are working fine for a few hours with the patch. They would
fail within 20 minutes without it.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists