[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTin7rG5H3zfn6nZzp_bGU9C6r3dOE+8x9WN77bPx@mail.gmail.com>
Date: Tue, 4 Jan 2011 11:52:29 -0800
From: Paul Menage <menage@...gle.com>
To: Lai Jiangshan <laijs@...fujitsu.com>
Cc: Li Zefan <lizf@...fujitsu.com>, MiaoX <miaox@...fujitsu.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] cpuset: remove cpuset_unlock()
On Tue, Jan 4, 2011 at 12:23 AM, Lai Jiangshan <laijs@...fujitsu.com> wrote:
> It is not used.
> It is not declared.
> There is no corresponding cpuset_lock().
>
> signed-off-by: Lai Jiangshan <laijs@...fujitsu.com>
Acked-by: Paul Menage <menage@...gle.com>
Thanks,
Paul
> ---
> diff --git a/kernel/cpuset.c b/kernel/cpuset.c
> index 4349935..6ef90dd 100644
> --- a/kernel/cpuset.c
> +++ b/kernel/cpuset.c
> @@ -2440,17 +2440,6 @@ int __cpuset_node_allowed_hardwall(int node, gfp_t gfp_mask)
> }
>
> /**
> - * cpuset_unlock - release lock on cpuset changes
> - *
> - * Undo the lock taken in a previous cpuset_lock() call.
> - */
> -
> -void cpuset_unlock(void)
> -{
> - mutex_unlock(&callback_mutex);
> -}
> -
> -/**
> * cpuset_mem_spread_node() - On which node to begin search for a file page
> * cpuset_slab_spread_node() - On which node to begin search for a slab page
> *
>
--
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