Re: 64-bit net_device_stats

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Wednesday, June 2, 2010 - 4:38 pm

On Wednesday 02 June 2010 23:59:12 Stephen Hemminger wrote:

Doesn't the /proc interface already allow 64 bit values in case of
64 bit hosts running the same 32 bit user space?

For the ioctl interfaces, we can of course introduce additional
ioctl commands that always deal with 64 bit values, many other
subsystems have been extended in similar ways.

We don't mandate that a program built against new kernel headers
must work on old kernels, so it is possibly to actually change
the definitions, as long as the kernel still supports the old
interfaces for existing binaries. We should still have a
good reason even for breaking the ABI in ways that we don't
guarantee to be stable.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] r8169: Add counters tx_bytes and rx_bytes for ..., Francois Romieu, (Tue May 25, 12:56 pm)
64-bit net_device_stats, Ben Hutchings, (Wed Jun 2, 2:34 pm)
Re: 64-bit net_device_stats, Stephen Hemminger, (Wed Jun 2, 2:59 pm)
Re: 64-bit net_device_stats, Arnd Bergmann, (Wed Jun 2, 4:38 pm)
Re: 64-bit net_device_stats, Ben Hutchings, (Thu Jun 3, 7:51 am)
Re: [PATCH 1/2] net: Enable 64-bit net device statistics o ..., Stephen Hemminger, (Thu Jun 3, 11:47 am)
Re: 64-bit net_device_stats, Junchang Wang, (Thu Jun 3, 6:59 pm)
Re: 64-bit net_device_stats, Eric Dumazet, (Thu Jun 3, 8:59 pm)
Re: [PATCH 1/2] net: Enable 64-bit net device statistics o ..., Stephen Hemminger, (Fri Jun 4, 10:28 am)