All of lore.kernel.org
 help / color / mirror / Atom feed
From: bill4carson@gmail.com (bill4carson)
To: kernelnewbies@lists.kernelnewbies.org
Subject: simple memory malloc and free in ip_output.c
Date: Fri, 27 Dec 2013 11:24:26 +0800	[thread overview]
Message-ID: <52BCF2EA.3090109@gmail.com> (raw)
In-Reply-To: <CALdM3tfdgH11R7sgE8-iQ1k12YyTVOKerRa6tgGFmvS_3989xQ@mail.gmail.com>



On 2013?12?27? 11:16, Guibin(Bill) Tian wrote:
> Hi,
> I am doing a very simple operation at the method of ip_queue_xmit in ip_output.c.
> The code is very simple.
>
> char *p = kmalloc(48, GFP_KERNEL);
                          ^^^^^^^^
                         GFP_ATOMIC ?
-- 
?????????,??????????

--bill

  reply	other threads:[~2013-12-27  3:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-27  3:16 simple memory malloc and free in ip_output.c Guibin(Bill) Tian
2013-12-27  3:24 ` bill4carson [this message]
2013-12-27  4:21   ` Guibin(Bill) Tian
2013-12-27  5:39     ` Guibin(Bill) Tian
2013-12-27  7:02       ` Anand Moon
2014-01-02  5:12 ` Mulyadi Santosa
2014-01-02  5:41   ` Valdis.Kletnieks at vt.edu
2014-01-02  6:15     ` Mulyadi Santosa
2014-01-02 17:42       ` Guibin(Bill) Tian
2014-01-07 11:27         ` Mulyadi Santosa

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=52BCF2EA.3090109@gmail.com \
    --to=bill4carson@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.