[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <434589.51834.qm@web15703.mail.cnb.yahoo.com>
Date: Thu, 30 Jul 2009 16:37:16 +0800 (CST)
From: peter meng <mengsanshui@...oo.com.cn>
To: linux-kernel@...r.kernel.org
Subject: Ask a question about kfree_skbmem and disassemble
Hi
I'm not be familiar with assemble .
I want to know how to explain follow .
80195170: 00808021 move s0,a0
80195174: 3c028029 lui v0,0x8029
80195178: 8c44db90 lw a0,-9328(v0)
8019517c: 02002821 move a1,s0
------source code and it's assemble---------------
void kfree_skbmem(struct sk_buff *skb)
{
skb_release_data(skb);
kmem_cache_free(skbuff_head_cache, skb);
}
80195160 <kfree_skbmem>:
80195160: 27bdffe8 addiu sp,sp,-24
80195164: afbf0014 sw ra,20(sp)
80195168: afb00010 sw s0,16(sp)
8019516c: 0c0654bd jal 801952f4 <skb_release_data>
80195170: 00808021 move s0,a0
80195174: 3c028029 lui v0,0x8029
80195178: 8c44db90 lw a0,-9328(v0)
8019517c: 02002821 move a1,s0
80195180: 8fbf0014 lw ra,20(sp)
80195184: 8fb00010 lw s0,16(sp)
80195188: 0802c86a j 800b21a8 <kmem_cache_free>
8019518c: 27bd0018 addiu sp,sp,24
------------------------------------------------------
Thanks a lot
Best Regards.
Peter Meng
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists