[Devel] Re: [PATCH][ just for review] memory controller enhancements [1/5] force empty
YAMAMOTO Takashi
yamamoto at valinux.co.jp
Mon Oct 15 17:15:49 PDT 2007
> Index: devel-2.6.23-rc8-mm2/mm/memcontrol.c
> ===================================================================
> --- devel-2.6.23-rc8-mm2.orig/mm/memcontrol.c
> +++ devel-2.6.23-rc8-mm2/mm/memcontrol.c
> @@ -469,6 +469,7 @@ void mem_cgroup_uncharge(struct page_cgr
> page = pc->page;
> /*
> * get page->cgroup and clear it under lock.
> + * force-empty can drop page->cgroup without checking refcnt.
force_empty
> + char buf[2] = "0";
it should be static const unless you want a runtime assignment.
YAMAMOTO Takashi
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list