tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Per-cpu stats for network interfaces
> On Jan 27, 2020, at 3:03 PM, Andrew Doran <ad%netbsd.org@localhost> wrote:
>
> I think special casing for things like MULTIPROCESSOR and really old
> machines is a bad idea, unless the stakes are very high or it's absolutely
> clear cut like "compile this file / don't compile this file and nobody
> outside the file can tell the difference". It's possible I'm simply a bad
> programmer but my experience is that special casing this stuff turns out to
> be a fine generator of bugs, compile failures and boring maintenance work.
Agreed. If optimizations are to be done for the pure uniprocessor, should be done inside the percpu API.
-- thorpej
Home |
Main Index |
Thread Index |
Old Index