netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: lvs-devel@vger.kernel.org, netdev@vger.kernel.org,
	netfilter-devel@vger.kernel.org,
	Wensong Zhang <wensong@linux-vs.org>,
	Julian Anastasov <ja@ssi.bg>,
	Hans Schillstrom <hans.schillstrom@ericsson.com>,
	Jesper Dangaard Brouer <brouer@redhat.com>,
	Hans Schillstrom <hans@schillstrom.com>,
	Simon Horman <horms@verge.net.au>
Subject: [PATCH 06/18] ipvs: SH scheduler does not need GFP_ATOMIC allocation
Date: Wed,  2 May 2012 15:22:30 +0900	[thread overview]
Message-ID: <1335939762-1912-7-git-send-email-horms@verge.net.au> (raw)
In-Reply-To: <1335939762-1912-1-git-send-email-horms@verge.net.au>

From: Julian Anastasov <ja@ssi.bg>

        Schedulers are initialized and bound to services only
on commands.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
---
 net/netfilter/ipvs/ip_vs_sh.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/netfilter/ipvs/ip_vs_sh.c b/net/netfilter/ipvs/ip_vs_sh.c
index 91e97ee..0512652 100644
--- a/net/netfilter/ipvs/ip_vs_sh.c
+++ b/net/netfilter/ipvs/ip_vs_sh.c
@@ -162,7 +162,7 @@ static int ip_vs_sh_init_svc(struct ip_vs_service *svc)
 
 	/* allocate the SH table for this service */
 	tbl = kmalloc(sizeof(struct ip_vs_sh_bucket)*IP_VS_SH_TAB_SIZE,
-		      GFP_ATOMIC);
+		      GFP_KERNEL);
 	if (tbl == NULL)
 		return -ENOMEM;
 
-- 
1.7.10


  parent reply	other threads:[~2012-05-02  6:22 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-02  6:22 [GIT PULL net-next v2] IPVS Simon Horman
2012-05-02  6:22 ` [PATCH 01/18] ipvs: timeout tables do not need GFP_ATOMIC allocation Simon Horman
2012-05-02  6:22 ` [PATCH 02/18] ipvs: LBLC scheduler does not need GFP_ATOMIC allocation on init Simon Horman
2012-05-02  6:22 ` [PATCH 03/18] ipvs: DH scheduler does not need GFP_ATOMIC allocation Simon Horman
2012-05-02  6:22 ` [PATCH 04/18] ipvs: WRR " Simon Horman
2012-05-02  6:22 ` [PATCH 05/18] ipvs: LBLCR scheduler does not need GFP_ATOMIC allocation on init Simon Horman
2012-05-02  6:22 ` Simon Horman [this message]
2012-05-02  6:22 ` [PATCH 07/18] netfilter: ipvs: use GFP_KERNEL allocation where possible Simon Horman
2012-05-02  6:22 ` [PATCH 08/18] ipvs: ignore IP_VS_CONN_F_NOOUTPUT in backup server Simon Horman
2012-05-02  6:22 ` [PATCH 09/18] ipvs: remove check for IP_VS_CONN_F_SYNC from ip_vs_bind_dest Simon Horman
2012-05-02  6:22 ` [PATCH 10/18] ipvs: fix ip_vs_try_bind_dest to rebind app and transmitter Simon Horman
2012-05-02  6:22 ` [PATCH 11/18] ipvs: always update some of the flags bits in backup Simon Horman
2012-05-02  6:22 ` [PATCH 12/18] ipvs: wakeup master thread Simon Horman
2012-05-02  6:22 ` [PATCH 13/18] ipvs: reduce sync rate with time thresholds Simon Horman
2012-05-02  6:22 ` [PATCH 14/18] ipvs: add support for sync threads Simon Horman
2012-05-02  6:22 ` [PATCH 15/18] ipvs: optimize the use of flags in ip_vs_bind_dest Simon Horman
2012-05-02  6:22 ` [PATCH 16/18] IPVS: ip_vs_ftp.c: local functions should not be exposed globally Simon Horman
2012-05-02  6:22 ` [PATCH 17/18] IPVS: ip_vs_proto.c: " Simon Horman
2012-05-02  6:22 ` [PATCH 18/18] export sysctl symbols needed by ip_vs_sync Simon Horman
2012-05-06 20:54   ` Pablo Neira Ayuso
2012-05-06 21:19     ` David Miller
2012-05-06 21:56 ` [GIT PULL net-next v2] IPVS Pablo Neira Ayuso

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=1335939762-1912-7-git-send-email-horms@verge.net.au \
    --to=horms@verge.net.au \
    --cc=brouer@redhat.com \
    --cc=hans.schillstrom@ericsson.com \
    --cc=hans@schillstrom.com \
    --cc=ja@ssi.bg \
    --cc=lvs-devel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=wensong@linux-vs.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).