-What's new in the Linux kernel - DebConf 2013
+What's new in the Linux kernel - DebConf 2014
@@ -39,7 +39,7 @@
@@ -50,6 +50,7 @@
What's new in the Linux kernel
+
and what's missing in Debian
Ben Hutchings
@@ -58,170 +59,113 @@
Professional software engineer by day, Debian developer by night
+ (or sometimes the other way round)
Regular Linux contributor in both roles since 2008
-
-
- Maintaining a net driver in my day job, plus core networking
- and PCI code as necessary
-
-
- Debian kernel team member, now doing most of the unstable
- maintenance aside from ports
-
-
- Maintaining Linux 3.2.y stable update series on
- kernel.org
-
-
-
-
-
-
-
-
Linux releases early and often
-
-
- Linux is released about 5 times a year (plus stable updates
- every week or two)
- For 'wheezy' we chose to freeze with Linux 3.2, which was
- getting pretty old by the time of release
+ Working on various drivers and kernel code in my day job
- Good news: we have lots of new kernel features in testing/unstable
+ Debian kernel team member, now doing most of the unstable
+ maintenance aside from ports
- Bad news: some of them won't really work without new userland
+ Maintaining Linux 3.2.y stable update series on
+ kernel.org
-
Team device driver [3.3]
-
-
- Alternative to the bonding driver - simpler, modular, high-level
- control deferred to userland
-
-
- Basic configuration can be done with ip, but it really
- needs new tools - teamd, teamnl, etc.
-
- Abstract storage for memory pages, expected to be slower than
- regular memory but faster than disk
-
-
- Can provide a second layer of page cache (cleancache and frontswap)
+ Linux is released about 5 times a year (plus stable updates
+ every week or two)
+
+
+ ...though some features aren't ready to use when they firat
+ appear in a release
+
+
- Pages stored by hypervisor (Xen), compressed local memory
- (zcache) or cluster of machines (RAMster)
+ Since my talk last year, Linus has made 6 releases (3.11-3.16)
- Not yet enabled in Debian kernels, and needs some thought about
- configuration
+ Good news: we have lots of new kernel features in testing/unstable
- Want to make it work? See
- https://lwn.net/Articles/454795/
- and mail debian-kernel
+ Bad news: some of them won't really work without new userland
-
New KMS drivers [3.3-3.10]
+
Recap of last year's features (1)
- DRM/KMS drivers added for old, new and virtual hardware -
- AST, DisplayLink, Hyper-V, Matrox G200, QEMU Cirrus
+ Team device driver: userland package (libteam) was uploaded in
+ October
- Should be more robust than purely user-mode drivers, and
- compatible with Secure Boot
+ Transcendent memory: frontswap, zswap and Xen tmem will be
+ enabled in next kernel upload
- Current X drivers don't work with these, so the kernel drivers
- are disabled for now
+ New KMS drivers: should all work with current Xorg drivers
- Want to make it work? Join the X Strike Force and package the
- new X drivers
+ Module signing: still not enabled, but probably will be if we
+ do Secure Boot
-
Module signing [3.7]
+
Recap of last year's features (2)
- Kernel modules can be signed at build time, and the kernel
- configured to refuse loading unsigned modules
+ More support for discard: still not enabled at install time
+ (#690977)
- Necessary but not sufficient to implement Secure Boot -
- we would also need signed kernel images and some other
- restrictions when booted in this mode
+ More support for containers: XFS was fixed, and user namespaces
+ have been enabled
- Want to make Secure Boot work? Come to the meeting on Tuesday
-
-
-
-
-
-
More support for discard
-
-
- Flash devices (and thin-provisioned SANs) can be more efficient
- if the filesystem 'discards' unused disk space
+ bcache: userland package (bcache-tools) still not quite ready
+ (#708132)
- Requires support in hardware, driver, filesystem and any layered
- device drivers - e.g. LVM, RAID (added in 3.7)
-
-
- Must be explicitly enabled, but d-i doesn't do this by default
-
-
- Want to make it work?
- See http://bugs.debian.org/690977
+ ARMv7 multiplatform: d-i works on some platforms but
+ I'm still not sure which. Some progress on GPU drivers, but not
+ in Debian yet.
-
User namespaces [3.7]
-
+
Unnamed temporary files [3.11]
+
- One of the last missing pieces for OpenVZ-like containers
+ Open directory with option O_TMPFILE to create an
+ unnamed temporary file on that filesystem
- Each user namespace has its own root user with
- privileges over the users and processes in that namespace - but
- not the whole system
+ As with tmpfile(), the file disppears on
+ last close()
- Currently somewhat experimental, and requires filesystem
- changes which haven't been done for NFS or XFS
+ File can be linked into the filesystem using
+ linkat(..., AT_EMPTY_PATH), allowing for 'atomic'
+ creation of file with complete contents and metadata
- Want to make it work? This needs upstream work to make those
- filesystems compatible
+ Not supported on all filesystem types, so you will usually need
+ a fallback