[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <43F901BD926A4E43B106BF17856F0755018E1CF4BF@orsmsx508.amr.corp.intel.com>
Date: Mon, 9 May 2011 21:25:36 -0700
From: "Rose, Gregory V" <gregory.v.rose@...el.com>
To: David Miller <davem@...emloft.net>,
"eric.dumazet@...il.com" <eric.dumazet@...il.com>
CC: "shemminger@...tta.com" <shemminger@...tta.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"bhutchings@...arflare.com" <bhutchings@...arflare.com>
Subject: RE: [RFC V2 PATCH] rtnetlink: Add method to calculate dump info
data size
> -----Original Message-----
> From: David Miller [mailto:davem@...emloft.net]
> Sent: Monday, May 09, 2011 8:50 PM
> To: eric.dumazet@...il.com
> Cc: shemminger@...tta.com; Rose, Gregory V; netdev@...r.kernel.org;
> bhutchings@...arflare.com
> Subject: Re: [RFC V2 PATCH] rtnetlink: Add method to calculate dump info
> data size
>
> From: Eric Dumazet <eric.dumazet@...il.com>
> Date: Tue, 10 May 2011 05:45:27 +0200
>
> > We only need to maintain a global variable to hold min_dump_alloc
> >
> > [ and only increase this variable when necessary, not bother to decrease
> > it when removing a driver ]
>
> Agreed, this is probably the best approach.
[Greg Rose]
OK, let me go back and look at doing it this way. I was sort of scratching my head about doing that device lookup on every dump, so this is a good suggestion.
Thanks,
- Greg
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists