feature-removal-schedule.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. The following is a list of files and features that are going to be
  2. removed in the kernel source tree. Every entry should contain what
  3. exactly is going away, why it is happening, and who is going to be doing
  4. the work. When the feature is removed from the kernel, it should also
  5. be removed from this file.
  6. ---------------------------
  7. What: MXSER
  8. When: December 2007
  9. Why: Old mxser driver is obsoleted by the mxser_new. Give it some time yet
  10. and remove it.
  11. Who: Jiri Slaby <jirislaby@gmail.com>
  12. ---------------------------
  13. What: dev->power.power_state
  14. When: July 2007
  15. Why: Broken design for runtime control over driver power states, confusing
  16. driver-internal runtime power management with: mechanisms to support
  17. system-wide sleep state transitions; event codes that distinguish
  18. different phases of swsusp "sleep" transitions; and userspace policy
  19. inputs. This framework was never widely used, and most attempts to
  20. use it were broken. Drivers should instead be exposing domain-specific
  21. interfaces either to kernel or to userspace.
  22. Who: Pavel Machek <pavel@suse.cz>
  23. ---------------------------
  24. What: old NCR53C9x driver
  25. When: October 2007
  26. Why: Replaced by the much better esp_scsi driver. Actual low-level
  27. driver can be ported over almost trivially.
  28. Who: David Miller <davem@davemloft.net>
  29. Christoph Hellwig <hch@lst.de>
  30. ---------------------------
  31. What: Video4Linux API 1 ioctls and video_decoder.h from Video devices.
  32. When: December 2008
  33. Files: include/linux/video_decoder.h include/linux/videodev.h
  34. Check: include/linux/video_decoder.h include/linux/videodev.h
  35. Why: V4L1 AP1 was replaced by V4L2 API during migration from 2.4 to 2.6
  36. series. The old API have lots of drawbacks and don't provide enough
  37. means to work with all video and audio standards. The newer API is
  38. already available on the main drivers and should be used instead.
  39. Newer drivers should use v4l_compat_translate_ioctl function to handle
  40. old calls, replacing to newer ones.
  41. Decoder iocts are using internally to allow video drivers to
  42. communicate with video decoders. This should also be improved to allow
  43. V4L2 calls being translated into compatible internal ioctls.
  44. Compatibility ioctls will be provided, for a while, via
  45. v4l1-compat module.
  46. Who: Mauro Carvalho Chehab <mchehab@infradead.org>
  47. ---------------------------
  48. What: PCMCIA control ioctl (needed for pcmcia-cs [cardmgr, cardctl])
  49. When: November 2005
  50. Files: drivers/pcmcia/: pcmcia_ioctl.c
  51. Why: With the 16-bit PCMCIA subsystem now behaving (almost) like a
  52. normal hotpluggable bus, and with it using the default kernel
  53. infrastructure (hotplug, driver core, sysfs) keeping the PCMCIA
  54. control ioctl needed by cardmgr and cardctl from pcmcia-cs is
  55. unnecessary, and makes further cleanups and integration of the
  56. PCMCIA subsystem into the Linux kernel device driver model more
  57. difficult. The features provided by cardmgr and cardctl are either
  58. handled by the kernel itself now or are available in the new
  59. pcmciautils package available at
  60. http://kernel.org/pub/linux/utils/kernel/pcmcia/
  61. Who: Dominik Brodowski <linux@brodo.de>
  62. ---------------------------
  63. What: sys_sysctl
  64. When: September 2010
  65. Option: CONFIG_SYSCTL_SYSCALL
  66. Why: The same information is available in a more convenient from
  67. /proc/sys, and none of the sysctl variables appear to be
  68. important performance wise.
  69. Binary sysctls are a long standing source of subtle kernel
  70. bugs and security issues.
  71. When I looked several months ago all I could find after
  72. searching several distributions were 5 user space programs and
  73. glibc (which falls back to /proc/sys) using this syscall.
  74. The man page for sysctl(2) documents it as unusable for user
  75. space programs.
  76. sysctl(2) is not generally ABI compatible to a 32bit user
  77. space application on a 64bit and a 32bit kernel.
  78. For the last several months the policy has been no new binary
  79. sysctls and no one has put forward an argument to use them.
  80. Binary sysctls issues seem to keep happening appearing so
  81. properly deprecating them (with a warning to user space) and a
  82. 2 year grace warning period will mean eventually we can kill
  83. them and end the pain.
  84. In the mean time individual binary sysctls can be dealt with
  85. in a piecewise fashion.
  86. Who: Eric Biederman <ebiederm@xmission.com>
  87. ---------------------------
  88. What: a.out interpreter support for ELF executables
  89. When: 2.6.25
  90. Files: fs/binfmt_elf.c
  91. Why: Using a.out interpreters for ELF executables was a feature for
  92. transition from a.out to ELF. But now it is unlikely to be still
  93. needed anymore and removing it would simplify the hairy ELF
  94. loader code.
  95. Who: Andi Kleen <ak@suse.de>
  96. ---------------------------
  97. What: remove EXPORT_SYMBOL(kernel_thread)
  98. When: August 2006
  99. Files: arch/*/kernel/*_ksyms.c
  100. Check: kernel_thread
  101. Why: kernel_thread is a low-level implementation detail. Drivers should
  102. use the <linux/kthread.h> API instead which shields them from
  103. implementation details and provides a higherlevel interface that
  104. prevents bugs and code duplication
  105. Who: Christoph Hellwig <hch@lst.de>
  106. ---------------------------
  107. What: CONFIG_FORCED_INLINING
  108. When: June 2006
  109. Why: Config option is there to see if gcc is good enough. (in january
  110. 2006). If it is, the behavior should just be the default. If it's not,
  111. the option should just go away entirely.
  112. Who: Arjan van de Ven
  113. ---------------------------
  114. What: eepro100 network driver
  115. When: January 2007
  116. Why: replaced by the e100 driver
  117. Who: Adrian Bunk <bunk@stusta.de>
  118. ---------------------------
  119. What: Unused EXPORT_SYMBOL/EXPORT_SYMBOL_GPL exports
  120. (temporary transition config option provided until then)
  121. The transition config option will also be removed at the same time.
  122. When: before 2.6.19
  123. Why: Unused symbols are both increasing the size of the kernel binary
  124. and are often a sign of "wrong API"
  125. Who: Arjan van de Ven <arjan@linux.intel.com>
  126. ---------------------------
  127. What: USB driver API moves to EXPORT_SYMBOL_GPL
  128. When: February 2008
  129. Files: include/linux/usb.h, drivers/usb/core/driver.c
  130. Why: The USB subsystem has changed a lot over time, and it has been
  131. possible to create userspace USB drivers using usbfs/libusb/gadgetfs
  132. that operate as fast as the USB bus allows. Because of this, the USB
  133. subsystem will not be allowing closed source kernel drivers to
  134. register with it, after this grace period is over. If anyone needs
  135. any help in converting their closed source drivers over to use the
  136. userspace filesystems, please contact the
  137. linux-usb-devel@lists.sourceforge.net mailing list, and the developers
  138. there will be glad to help you out.
  139. Who: Greg Kroah-Hartman <gregkh@suse.de>
  140. ---------------------------
  141. What: vm_ops.nopage
  142. When: Soon, provided in-kernel callers have been converted
  143. Why: This interface is replaced by vm_ops.fault, but it has been around
  144. forever, is used by a lot of drivers, and doesn't cost much to
  145. maintain.
  146. Who: Nick Piggin <npiggin@suse.de>
  147. ---------------------------
  148. What: PHYSDEVPATH, PHYSDEVBUS, PHYSDEVDRIVER in the uevent environment
  149. When: October 2008
  150. Why: The stacking of class devices makes these values misleading and
  151. inconsistent.
  152. Class devices should not carry any of these properties, and bus
  153. devices have SUBSYTEM and DRIVER as a replacement.
  154. Who: Kay Sievers <kay.sievers@suse.de>
  155. ---------------------------
  156. What: ACPI procfs interface
  157. When: July 2008
  158. Why: ACPI sysfs conversion should be finished by January 2008.
  159. ACPI procfs interface will be removed in July 2008 so that
  160. there is enough time for the user space to catch up.
  161. Who: Zhang Rui <rui.zhang@intel.com>
  162. ---------------------------
  163. What: /proc/acpi/button
  164. When: August 2007
  165. Why: /proc/acpi/button has been replaced by events to the input layer
  166. since 2.6.20.
  167. Who: Len Brown <len.brown@intel.com>
  168. ---------------------------
  169. What: /proc/acpi/event
  170. When: February 2008
  171. Why: /proc/acpi/event has been replaced by events via the input layer
  172. and netlink since 2.6.23.
  173. Who: Len Brown <len.brown@intel.com>
  174. ---------------------------
  175. What: 'time' kernel boot parameter
  176. When: January 2008
  177. Why: replaced by 'printk.time=<value>' so that printk timestamps can be
  178. enabled or disabled as needed
  179. Who: Randy Dunlap <randy.dunlap@oracle.com>
  180. ---------------------------
  181. What: drivers depending on OSS_OBSOLETE
  182. When: options in 2.6.23, code in 2.6.25
  183. Why: obsolete OSS drivers
  184. Who: Adrian Bunk <bunk@stusta.de>
  185. ---------------------------
  186. What: libata spindown skipping and warning
  187. When: Dec 2008
  188. Why: Some halt(8) implementations synchronize caches for and spin
  189. down libata disks because libata didn't use to spin down disk on
  190. system halt (only synchronized caches).
  191. Spin down on system halt is now implemented. sysfs node
  192. /sys/class/scsi_disk/h:c:i:l/manage_start_stop is present if
  193. spin down support is available.
  194. Because issuing spin down command to an already spun down disk
  195. makes some disks spin up just to spin down again, libata tracks
  196. device spindown status to skip the extra spindown command and
  197. warn about it.
  198. This is to give userspace tools the time to get updated and will
  199. be removed after userspace is reasonably updated.
  200. Who: Tejun Heo <htejun@gmail.com>
  201. ---------------------------
  202. What: iptables SAME target
  203. When: 1.1. 2008
  204. Files: net/ipv4/netfilter/ipt_SAME.c, include/linux/netfilter_ipv4/ipt_SAME.h
  205. Why: Obsolete for multiple years now, NAT core provides the same behaviour.
  206. Unfixable broken wrt. 32/64 bit cleanness.
  207. Who: Patrick McHardy <kaber@trash.net>
  208. ---------------------------
  209. What: The arch/ppc and include/asm-ppc directories
  210. When: Jun 2008
  211. Why: The arch/powerpc tree is the merged architecture for ppc32 and ppc64
  212. platforms. Currently there are efforts underway to port the remaining
  213. arch/ppc platforms to the merged tree. New submissions to the arch/ppc
  214. tree have been frozen with the 2.6.22 kernel release and that tree will
  215. remain in bug-fix only mode until its scheduled removal. Platforms
  216. that are not ported by June 2008 will be removed due to the lack of an
  217. interested maintainer.
  218. Who: linuxppc-dev@ozlabs.org
  219. ---------------------------
  220. What: sk98lin network driver
  221. When: Feburary 2008
  222. Why: In kernel tree version of driver is unmaintained. Sk98lin driver
  223. replaced by the skge driver.
  224. Who: Stephen Hemminger <shemminger@linux-foundation.org>
  225. ---------------------------
  226. What: i386/x86_64 bzImage symlinks
  227. When: April 2008
  228. Why: The i386/x86_64 merge provides a symlink to the old bzImage
  229. location so not yet updated user space tools, e.g. package
  230. scripts, do not break.
  231. Who: Thomas Gleixner <tglx@linutronix.de>
  232. ---------------------------
  233. What: shaper network driver
  234. When: January 2008
  235. Files: drivers/net/shaper.c, include/linux/if_shaper.h
  236. Why: This driver has been marked obsolete for many years.
  237. It was only designed to work on lower speed links and has design
  238. flaws that lead to machine crashes. The qdisc infrastructure in
  239. 2.4 or later kernels, provides richer features and is more robust.
  240. Who: Stephen Hemminger <shemminger@linux-foundation.org>
  241. ---------------------------
  242. What: i2c-i810, i2c-prosavage and i2c-savage4
  243. When: May 2008
  244. Why: These drivers are superseded by i810fb, intelfb and savagefb.
  245. Who: Jean Delvare <khali@linux-fr.org>
  246. ---------------------------