于 2012年07月10日 17:15, Eric Dumazet 写道:
> On Tue, 2012-07-10 at 16:53 +0800, Gao feng wrote:
>>> Hi Gao
>>>
>>> Is it still needed to call update_netdev_tables() from write_priomap() ?
>>>
>>
>> Yes, I think it's needed,because read_priomap will show all of the net
>> devices,
>>
>> But we may add
On Tue, 2012-07-10 at 16:53 +0800, Gao feng wrote:
> > Hi Gao
> >
> > Is it still needed to call update_netdev_tables() from write_priomap() ?
> >
>
> Yes, I think it's needed,because read_priomap will show all of the net
> devices,
>
> But we may add the netdev after create a netprio cgroup,
> Hi Gao
>
> Is it still needed to call update_netdev_tables() from write_priomap() ?
>
Yes, I think it's needed,because read_priomap will show all of the net devices,
But we may add the netdev after create a netprio cgroup, so the new added
netdev's
priomap will not be allocated. if we
Hi Gao
Is it still needed to call update_netdev_tables() from write_priomap() ?
Yes, I think it's needed,because read_priomap will show all of the net devices,
But we may add the netdev after create a netprio cgroup, so the new added
netdev's
priomap will not be allocated. if we don't
On Tue, 2012-07-10 at 16:53 +0800, Gao feng wrote:
Hi Gao
Is it still needed to call update_netdev_tables() from write_priomap() ?
Yes, I think it's needed,because read_priomap will show all of the net
devices,
But we may add the netdev after create a netprio cgroup, so the new
于 2012年07月10日 17:15, Eric Dumazet 写道:
On Tue, 2012-07-10 at 16:53 +0800, Gao feng wrote:
Hi Gao
Is it still needed to call update_netdev_tables() from write_priomap() ?
Yes, I think it's needed,because read_priomap will show all of the net
devices,
But we may add the netdev after create
On Tue, 2012-07-10 at 10:31 +0800, Gao feng wrote:
> there are some out of bound accesses in netprio cgroup.
> when creating a new netprio cgroup,we only set a prioidx for
> the new cgroup,without allocate memory for dev->priomap.
>
> because we don't want to see additional bound checkings in
>
there are some out of bound accesses in netprio cgroup.
when creating a new netprio cgroup,we only set a prioidx for
the new cgroup,without allocate memory for dev->priomap.
because we don't want to see additional bound checkings in
fast path, so I think the best way is to allocate memory when we
there are some out of bound accesses in netprio cgroup.
when creating a new netprio cgroup,we only set a prioidx for
the new cgroup,without allocate memory for dev-priomap.
because we don't want to see additional bound checkings in
fast path, so I think the best way is to allocate memory when we
On Tue, 2012-07-10 at 10:31 +0800, Gao feng wrote:
there are some out of bound accesses in netprio cgroup.
when creating a new netprio cgroup,we only set a prioidx for
the new cgroup,without allocate memory for dev-priomap.
because we don't want to see additional bound checkings in
fast
10 matches
Mail list logo