netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: lirongqing@baidu.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH][net-next][v2] packet: switch kvzalloc to allocate memory
Date: Mon, 13 Aug 2018 09:37:12 -0700 (PDT)	[thread overview]
Message-ID: <20180813.093712.1581496475704607511.davem@davemloft.net> (raw)
In-Reply-To: <1534128166-11972-1-git-send-email-lirongqing@baidu.com>

From: Li RongQing <lirongqing@baidu.com>
Date: Mon, 13 Aug 2018 10:42:46 +0800

> The patches includes following change:
> 
> *Use modern kvzalloc()/kvfree() instead of custom allocations.
> 
> *Remove order argument for alloc_pg_vec, it can get from req.
> 
> *Remove order argument for free_pg_vec, free_pg_vec now uses
> kvfree which does not need order argument.
> 
> *Remove pg_vec_order from struct packet_ring_buffer, no longer
> need to save/restore 'order'
> 
> *Remove variable 'order' for packet_set_ring, it is now unused
> 
> Signed-off-by: Zhang Yu <zhangyu31@baidu.com>
> Signed-off-by: Li RongQing <lirongqing@baidu.com>

Applied.

      reply	other threads:[~2018-08-13 19:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-13  2:42 [PATCH][net-next][v2] packet: switch kvzalloc to allocate memory Li RongQing
2018-08-13 16:37 ` David Miller [this message]

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=20180813.093712.1581496475704607511.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=lirongqing@baidu.com \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).