[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1010150928030.22598@router.home>
Date: Fri, 15 Oct 2010 09:32:09 -0500 (CDT)
From: Christoph Lameter <cl@...ux.com>
To: Pekka Enberg <penberg@...nel.org>
cc: linux-kernel@...r.kernel.org, David Rientjes <rientjes@...gle.com>
Subject: Re: [PATCH v2] slub: Drop slab lock for partial list handling
On Thu, 14 Oct 2010, Pekka Enberg wrote:
> There's no need to hold 'page' slab lock for partial list handling functions. A
> page is bound to a node so 'page->lru' is always protected by n->list_lock.
Only if there are no races introduced by dropping the lock early.
The freelist may be changed after dropping the slab lock. The
partial list operation may then end up adding a slab that is empty or full
to the partia list.
--
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