From: peter meng <mengsanshui@yahoo.com.cn>
To: linux-kernel@vger.kernel.org
Subject: Ask a question about kfree_skbmem and disassemble
Date: Thu, 30 Jul 2009 16:37:16 +0800 (CST) [thread overview]
Message-ID: <434589.51834.qm@web15703.mail.cnb.yahoo.com> (raw)
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
next reply other threads:[~2009-07-30 8:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 8:37 peter meng [this message]
2009-08-04 15:08 ` Christoph Lameter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=434589.51834.qm@web15703.mail.cnb.yahoo.com \
--to=mengsanshui@yahoo.com.cn \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®