Messages in this thread | | | Date | Wed, 2 Dec 2015 09:57:11 -0600 (CST) | From | Christoph Lameter <> | Subject | Re: [PATCH 1/3] mm/slab: use list_first_entry_or_null() |
| |
On Wed, 2 Dec 2015, Geliang Tang wrote:
> Simplify the code with list_first_entry_or_null().
Looks like there are two code snippets here in slab.c that could become a function or so. So this could be improved upon by creating a function called get_first_slab() or so.
Acked-by: Christoph Lameter <cl@linux.com>
| |