Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/pci



On Nov 15, 12:09pm, bouyer%antioche.eu.org@localhost (Manuel Bouyer) wrote:
-- Subject: Re: CVS commit: src/sys/dev/pci

| On Fri, Nov 14, 2008 at 10:57:08PM +0000, Christos Zoulas wrote:
| > In article <20081114215402.GB10928%britannica.bec.de@localhost>,
| > Joerg Sonnenberger  <joerg%britannica.bec.de@localhost> wrote:
| > >On Fri, Nov 14, 2008 at 09:44:45PM +0000, Christos Zoulas wrote:
| > >> Why not save it in ram only on and during suspend? Is there an ordering
| > >> issue again because the disk might have already been suspended? Should
| > >> we add a "prepare to suspend" pass to avoid all the ordering issues?
| > >
| > >What do we want to optimise for? Seriously, wpi is using the same
| > >approach to wifi as ~every other device does. Keep the firmware in
| > >memory for whenever you will need it.
| > >
| > >Note that this is not only resume time, but it will load the firmware
| > >whenever if_init is called. If you really worry about the memory usage,
| > >the static bus dma allocation should be eliminated first. That is larger
| > >than the size of the firmware. But I don't think worrying about the
| > >150KB image is  justified.
| > 
| > It is still 13% of the memory on a 2GB machine.
| 
| How did you get this 13% ??? 

By reading MB instead of KB?

christos


Home | Main Index | Thread Index | Old Index