/* prev_priority control...this will be used in memory reclaim path.  */
int mem_cgroup_get_reclaim_priority(struct mem_cgroup *mem)
/* prev_priority control...this will be used in memory reclaim path.  */
int mem_cgroup_get_reclaim_priority(struct mem_cgroup *mem)
{
	int prev_priority;
	spin_lock(&mem->reclaim_param_lock);
	prev_priority = mem->prev_priority;
	spin_unlock(&mem->reclaim_param_lock);
	return prev_priority;
}