Re: [PATCH v2] net: fix functions and variables related to netns_ipvs->sysctl_sync_qlen_max

2013-02-18 Thread Julian Anastasov
Hello, On Mon, 18 Feb 2013, Zhang Yanfei wrote: > 于 2013年02月16日 05:39, Julian Anastasov 写道: > > > > Hello, > > > > On Thu, 14 Feb 2013, Andrew Morton wrote: > > > >> Redarding this patch: > >> net-change-type-of-netns_ipvs-sysctl_sync_qlen_max.patch and > >>

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs-sysctl_sync_qlen_max

2013-02-18 Thread Julian Anastasov
Hello, On Mon, 18 Feb 2013, Zhang Yanfei wrote: 于 2013年02月16日 05:39, Julian Anastasov 写道: Hello, On Thu, 14 Feb 2013, Andrew Morton wrote: Redarding this patch: net-change-type-of-netns_ipvs-sysctl_sync_qlen_max.patch and

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs->sysctl_sync_qlen_max

2013-02-17 Thread Zhang Yanfei
于 2013年02月16日 05:39, Julian Anastasov 写道: > > Hello, > > On Thu, 14 Feb 2013, Andrew Morton wrote: > >> On Thu, 7 Feb 2013 10:40:26 +0200 (EET) >> Julian Anastasov wrote: >> Another question about the sysctl_sync_qlen_max: This variable is assigned as:

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs->sysctl_sync_qlen_max

2013-02-17 Thread Simon Horman
On Fri, Feb 15, 2013 at 11:39:34PM +0200, Julian Anastasov wrote: > > Hello, > > On Thu, 14 Feb 2013, Andrew Morton wrote: > > > On Thu, 7 Feb 2013 10:40:26 +0200 (EET) > > Julian Anastasov wrote: > > > > > > Another question about the sysctl_sync_qlen_max: > > > > This variable is

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs-sysctl_sync_qlen_max

2013-02-17 Thread Simon Horman
On Fri, Feb 15, 2013 at 11:39:34PM +0200, Julian Anastasov wrote: Hello, On Thu, 14 Feb 2013, Andrew Morton wrote: On Thu, 7 Feb 2013 10:40:26 +0200 (EET) Julian Anastasov j...@ssi.bg wrote: Another question about the sysctl_sync_qlen_max: This variable is assigned as:

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs-sysctl_sync_qlen_max

2013-02-17 Thread Zhang Yanfei
于 2013年02月16日 05:39, Julian Anastasov 写道: Hello, On Thu, 14 Feb 2013, Andrew Morton wrote: On Thu, 7 Feb 2013 10:40:26 +0200 (EET) Julian Anastasov j...@ssi.bg wrote: Another question about the sysctl_sync_qlen_max: This variable is assigned as: ipvs-sysctl_sync_qlen_max =

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs->sysctl_sync_qlen_max

2013-02-15 Thread Julian Anastasov
Hello, On Thu, 14 Feb 2013, Andrew Morton wrote: > On Thu, 7 Feb 2013 10:40:26 +0200 (EET) > Julian Anastasov wrote: > > > > Another question about the sysctl_sync_qlen_max: > > > This variable is assigned as: > > > > > > ipvs->sysctl_sync_qlen_max = nr_free_buffer_pages() / 32; > >

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs-sysctl_sync_qlen_max

2013-02-15 Thread Julian Anastasov
Hello, On Thu, 14 Feb 2013, Andrew Morton wrote: On Thu, 7 Feb 2013 10:40:26 +0200 (EET) Julian Anastasov j...@ssi.bg wrote: Another question about the sysctl_sync_qlen_max: This variable is assigned as: ipvs-sysctl_sync_qlen_max = nr_free_buffer_pages() / 32;

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs->sysctl_sync_qlen_max

2013-02-14 Thread Andrew Morton
On Thu, 7 Feb 2013 10:40:26 +0200 (EET) Julian Anastasov wrote: > > Another question about the sysctl_sync_qlen_max: > > This variable is assigned as: > > > > ipvs->sysctl_sync_qlen_max = nr_free_buffer_pages() / 32; > > > > The function nr_free_buffer_pages actually means: counts of pages > >

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs-sysctl_sync_qlen_max

2013-02-14 Thread Andrew Morton
On Thu, 7 Feb 2013 10:40:26 +0200 (EET) Julian Anastasov j...@ssi.bg wrote: Another question about the sysctl_sync_qlen_max: This variable is assigned as: ipvs-sysctl_sync_qlen_max = nr_free_buffer_pages() / 32; The function nr_free_buffer_pages actually means: counts of pages

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs->sysctl_sync_qlen_max

2013-02-07 Thread Zhang Yanfei
于 2013年02月07日 16:40, Julian Anastasov 写道: > > Hello, > > On Thu, 7 Feb 2013, Zhang Yanfei wrote: > >> Since the type of netns_ipvs->sysctl_sync_qlen_max has been changed to >> unsigned long, type of its related proc var sync_qlen_max should be changed >> to unsigned long, too. Also the

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs->sysctl_sync_qlen_max

2013-02-07 Thread Julian Anastasov
Hello, On Thu, 7 Feb 2013, Zhang Yanfei wrote: > Since the type of netns_ipvs->sysctl_sync_qlen_max has been changed to > unsigned long, type of its related proc var sync_qlen_max should be changed > to unsigned long, too. Also the return type of function > sysctl_sync_qlen_max(). > >

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs-sysctl_sync_qlen_max

2013-02-07 Thread Julian Anastasov
Hello, On Thu, 7 Feb 2013, Zhang Yanfei wrote: Since the type of netns_ipvs-sysctl_sync_qlen_max has been changed to unsigned long, type of its related proc var sync_qlen_max should be changed to unsigned long, too. Also the return type of function sysctl_sync_qlen_max().

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs-sysctl_sync_qlen_max

2013-02-07 Thread Zhang Yanfei
于 2013年02月07日 16:40, Julian Anastasov 写道: Hello, On Thu, 7 Feb 2013, Zhang Yanfei wrote: Since the type of netns_ipvs-sysctl_sync_qlen_max has been changed to unsigned long, type of its related proc var sync_qlen_max should be changed to unsigned long, too. Also the return type of

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs->sysctl_sync_qlen_max

2013-02-06 Thread Simon Horman
On Thu, Feb 07, 2013 at 12:15:18PM +0800, Zhang Yanfei wrote: > Since the type of netns_ipvs->sysctl_sync_qlen_max has been changed to > unsigned long, type of its related proc var sync_qlen_max should be changed > to unsigned long, too. Also the return type of function > sysctl_sync_qlen_max().

[PATCH v2] net: fix functions and variables related to netns_ipvs->sysctl_sync_qlen_max

2013-02-06 Thread Zhang Yanfei
Since the type of netns_ipvs->sysctl_sync_qlen_max has been changed to unsigned long, type of its related proc var sync_qlen_max should be changed to unsigned long, too. Also the return type of function sysctl_sync_qlen_max(). Besides, the type of ipvs_master_sync_state->sync_queue_len should

[PATCH v2] net: fix functions and variables related to netns_ipvs-sysctl_sync_qlen_max

2013-02-06 Thread Zhang Yanfei
Since the type of netns_ipvs-sysctl_sync_qlen_max has been changed to unsigned long, type of its related proc var sync_qlen_max should be changed to unsigned long, too. Also the return type of function sysctl_sync_qlen_max(). Besides, the type of ipvs_master_sync_state-sync_queue_len should also

Re: [PATCH v2] net: fix functions and variables related to netns_ipvs-sysctl_sync_qlen_max

2013-02-06 Thread Simon Horman
On Thu, Feb 07, 2013 at 12:15:18PM +0800, Zhang Yanfei wrote: Since the type of netns_ipvs-sysctl_sync_qlen_max has been changed to unsigned long, type of its related proc var sync_qlen_max should be changed to unsigned long, too. Also the return type of function sysctl_sync_qlen_max().