Skip to content

Eleminate HZ from AX.25 kernel interfaces

Ralf Baechle DL5RB linux-hams 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Eleminate HZ from AX.25 kernel interfacesinclude/net/ax25.h net/ax25/af_ax25.c net/ax25/ax25_ds_timer.c +1 more+53 -430 replies
2/3Eleminate HZ from NET/ROM kernel interfacesinclude/net/netrom.h net/netrom/af_netrom.c+14 -90 replies
3/3Eleminate HZ from ROSE kernel interfacesinclude/net/rose.h net/rose/af_rose.c net/rose/rose_link.c+16 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Eleminate HZ from AX.25 kernel interfaces

AX.25, NET/ROM and ROSE unfortunately still use jiffies as the unit of time for all their timeouts that can be configured through sysctl and it's procfs equivalents. This did result in a change of these kernel interfaces going from Linux 2.4 to 2.6 for anybody who was unlucky enough to use an affected platform such as i386 and most MIPS but not Alpha. Making matters worse, it required the sysadmin of the particular system to know the timing value making it very, very broken inteface design. The timer interrupt frequency recently becoming configurable made things even worse, so this really needed to be fixed. The following series of patches contains three patches, one for each of the three packet radio protocols to switch the unit used by the sysadmin to miliseconds thus resulting in a deterministic interface. I'd be happy about testers. Patches are against 2.6.13-rc6.

73 de DL5RB op Ralf

--
Loc. JN47BS / CQ 14 / ITU 28 / DOK A21