diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-08-19 09:56:42 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-03-01 09:28:35 -0600 |
commit | 228dce31e1971ecdc5411e68cf037cbffbc667c2 (patch) | |
tree | 3734e6b2c71155f0f093e79dd0b2086f633c7e54 /mm | |
parent | ddc10edd2c94b09a36f52bc0e92d0f84c59c5303 (diff) |
mm: Replace cgroup_page bit spinlock
Bit spinlocks are not working on RT. Replace them.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_cgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/page_cgroup.c b/mm/page_cgroup.c index 2d123f94a8df..2e0d18d8e432 100644 --- a/mm/page_cgroup.c +++ b/mm/page_cgroup.c @@ -17,6 +17,7 @@ static void __meminit init_page_cgroup(struct page_cgroup *pc, unsigned long id) set_page_cgroup_array_id(pc, id); pc->mem_cgroup = NULL; INIT_LIST_HEAD(&pc->lru); + page_cgroup_lock_init(pc); } static unsigned long total_usage; |