Re: [PATCH v2 net-next 3/3] tuntap: reduce the size of tun_struct by using flex array.

2014-11-25 Thread Pankaj Gupta
> > From: Pankaj Gupta > Date: Tue, 25 Nov 2014 00:04:04 +0530 > > > This patch switches to flex array to implement the flow caches, it brings > > several advantages: > > > > - Reduce the size of the tun_struct structure, which allows us to increase > > the > > upper limit of queues in

Re: [PATCH v2 net-next 3/3] tuntap: reduce the size of tun_struct by using flex array.

2014-11-25 Thread David Miller
From: Pankaj Gupta Date: Tue, 25 Nov 2014 00:04:04 +0530 > This patch switches to flex array to implement the flow caches, it brings > several advantages: > > - Reduce the size of the tun_struct structure, which allows us to increase the > upper limit of queues in future. > - Avoid higher

Re: [PATCH v2 net-next 3/3] tuntap: reduce the size of tun_struct by using flex array.

2014-11-25 Thread David Miller
From: Pankaj Gupta pagu...@redhat.com Date: Tue, 25 Nov 2014 00:04:04 +0530 This patch switches to flex array to implement the flow caches, it brings several advantages: - Reduce the size of the tun_struct structure, which allows us to increase the upper limit of queues in future. -

Re: [PATCH v2 net-next 3/3] tuntap: reduce the size of tun_struct by using flex array.

2014-11-25 Thread Pankaj Gupta
From: Pankaj Gupta pagu...@redhat.com Date: Tue, 25 Nov 2014 00:04:04 +0530 This patch switches to flex array to implement the flow caches, it brings several advantages: - Reduce the size of the tun_struct structure, which allows us to increase the upper limit of queues in

[PATCH v2 net-next 3/3] tuntap: reduce the size of tun_struct by using flex array.

2014-11-24 Thread Pankaj Gupta
This patch switches to flex array to implement the flow caches, it brings several advantages: - Reduce the size of the tun_struct structure, which allows us to increase the upper limit of queues in future. - Avoid higher order memory allocation. It will be useful when switching to pure

[PATCH v2 net-next 3/3] tuntap: reduce the size of tun_struct by using flex array.

2014-11-24 Thread Pankaj Gupta
This patch switches to flex array to implement the flow caches, it brings several advantages: - Reduce the size of the tun_struct structure, which allows us to increase the upper limit of queues in future. - Avoid higher order memory allocation. It will be useful when switching to pure