Re: [PATCH] mm: disallow direct reclaim page writeback

From: KAMEZAWA Hiroyuki
Date: Wed Apr 14 2010 - 01:04:09 EST


On Wed, 14 Apr 2010 11:40:41 +1000
Dave Chinner <david@xxxxxxxxxxxxx> wrote:

> 50) 3168 64 xfs_vm_writepage+0xab/0x160 [xfs]
> 51) 3104 384 shrink_page_list+0x65e/0x840
> 52) 2720 528 shrink_zone+0x63f/0xe10

A bit OFF TOPIC.

Could you share disassemble of shrink_zone() ?

In my environ.
00000000000115a0 <shrink_zone>:
115a0: 55 push %rbp
115a1: 48 89 e5 mov %rsp,%rbp
115a4: 41 57 push %r15
115a6: 41 56 push %r14
115a8: 41 55 push %r13
115aa: 41 54 push %r12
115ac: 53 push %rbx
115ad: 48 83 ec 78 sub $0x78,%rsp
115b1: e8 00 00 00 00 callq 115b6 <shrink_zone+0x16>
115b6: 48 89 75 80 mov %rsi,-0x80(%rbp)

disassemble seems to show 0x78 bytes for stack. And no changes to %rsp
until retrun.

I may misunderstand something...

Thanks,
-Kame

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/