Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284408
b: refs/heads/master
c: 90b3fea
h: refs/heads/master
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Jan 13, 2012
1 parent 2f257e4 commit e471b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12d27107867fc7216e8faaff0b894b0f162dcf75
refs/heads/master: 90b3feaec8ffb167abd8903bf111605c2f035aa8
17 changes: 1 addition & 16 deletions trunk/mm/memcontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -3364,23 +3364,8 @@ void mem_cgroup_print_bad_page(struct page *page)

pc = lookup_page_cgroup_used(page);
if (pc) {
int ret = -1;
char *path;

printk(KERN_ALERT "pc:%p pc->flags:%lx pc->mem_cgroup:%p",
printk(KERN_ALERT "pc:%p pc->flags:%lx pc->mem_cgroup:%p\n",
pc, pc->flags, pc->mem_cgroup);

path = kmalloc(PATH_MAX, GFP_KERNEL);
if (path) {
rcu_read_lock();
ret = cgroup_path(pc->mem_cgroup->css.cgroup,
path, PATH_MAX);
rcu_read_unlock();
}

printk(KERN_CONT "(%s)\n",
(ret < 0) ? "cannot get the path" : path);
kfree(path);
}
}
#endif
Expand Down

0 comments on commit e471b34

Please sign in to comment.