/* Get a partial page, lock it and return it.  */
static struct page* get_partial(struct kmem_cache *s, gfp_t flags, int node)
/* Get a partial page, lock it and return it.  */
static struct page* get_partial(struct kmem_cache *s, gfp_t flags, int node)
{
	struct page *page;
	int searchnode = (node == -1) ? numa_node_id() : node;
	page = get_partial_node(get_node(s, searchnode));
	if (page || (flags & __GFP_THISNODE))
		return page;
	return get_any_partial(s, flags);
}