Re: Bottleneck on /dev/null

Bernd Petrovitsch (bernd@gams.at)
Thu, 20 Mar 2003 17:33:32 +0100


Tim Schmielau <tim@physik3.uni-rostock.de> wrote:
>On Thu, 20 Mar 2003, Richard B. Johnson wrote:
>
>> unsigned long amount = 0L;
>
>try 'volatile' to get the deviation down...

.. and try "long long" to avoid an overrun.

Bernd

-- 
Bernd Petrovitsch                              Email : bernd@gams.at
g.a.m.s gmbh                                  Fax : +43 1 205255-900
Prinz-Eugen-Straße 8                    A-1040 Vienna/Austria/Europe
                     LUGA : http://www.luga.at

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/