diff options
Diffstat (limited to 'mm/memory.c')
| -rw-r--r-- | mm/memory.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/mm/memory.c b/mm/memory.c index d1153e37e9ba..5b7f2002e54b 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
| @@ -190,9 +190,6 @@ static void check_sync_rss_stat(struct task_struct *task) | |||
| 190 | { | 190 | { |
| 191 | } | 191 | } |
| 192 | 192 | ||
| 193 | void sync_mm_rss(struct task_struct *task, struct mm_struct *mm) | ||
| 194 | { | ||
| 195 | } | ||
| 196 | #endif | 193 | #endif |
| 197 | 194 | ||
| 198 | /* | 195 | /* |
| @@ -512,12 +509,8 @@ static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, | |||
| 512 | "BUG: Bad page map in process %s pte:%08llx pmd:%08llx\n", | 509 | "BUG: Bad page map in process %s pte:%08llx pmd:%08llx\n", |
| 513 | current->comm, | 510 | current->comm, |
| 514 | (long long)pte_val(pte), (long long)pmd_val(*pmd)); | 511 | (long long)pte_val(pte), (long long)pmd_val(*pmd)); |
| 515 | if (page) { | 512 | if (page) |
| 516 | printk(KERN_ALERT | 513 | dump_page(page); |
| 517 | "page:%p flags:%p count:%d mapcount:%d mapping:%p index:%lx\n", | ||
| 518 | page, (void *)page->flags, page_count(page), | ||
| 519 | page_mapcount(page), page->mapping, page->index); | ||
| 520 | } | ||
| 521 | printk(KERN_ALERT | 514 | printk(KERN_ALERT |
| 522 | "addr:%p vm_flags:%08lx anon_vma:%p mapping:%p index:%lx\n", | 515 | "addr:%p vm_flags:%08lx anon_vma:%p mapping:%p index:%lx\n", |
| 523 | (void *)addr, vma->vm_flags, vma->anon_vma, mapping, index); | 516 | (void *)addr, vma->vm_flags, vma->anon_vma, mapping, index); |
