LKML News v5.9-rc5

[PATCH RFC 00/10] KFENCE: A low-overhead sampling-based memory safety error detector (Marco Elver)

This patchset introduces another kernel use-after-free detection infrastructure, called Kernel Electric-Fence (KFENCE). Unlike KASAN, this trades the performance for precision and as a result it incurs near zero performance overhead so that it can be enabled in the production.

[PATCH 00/11] Remove assumptions of THP size (Matthew Wilcox)

Matthew is working for variable sized THP. For start of the work, this patchset changes the assumption that THP will be PMD size by introducing thp_nr_pages() and let the other VM code to use it.

[PATCH] memcg: introduce per-memcg reclaim interface (Shakeel Butt)

Sometimes the workload is mixed with latency sensitive ones and latency tolerative ones. The kernel does not have a way to distinguish those. It’s rather well known to the users. Therefore, this patchset allow the userspace to trigger reclaim specific memory cgroup.

[PATCH v13 0/5] KASAN-KUnit Integration (David Gow)

13th version of the KASAN-KUnit integration patchset.

Ways to deprecate /sys/devices/system/memory/memoryX/phys_device ? (David Hildenbrand)

In this mail, David introduces how phys_device file has added in the kernel, updated, and finally been not useful at all but only makes concern in backward compatibility with some user space tools. He asks what is the better intermediate step towards the complete removal of the interface. Just making it return ‘0’ always, or making it supported on the backward compatibility concerning arch, s390x, only.

The firmware could expose memory layout that some region are interleaved in multiple NUMA nodes. Then, the memory blocks wrongly assigned to the multiple nodes in sysfs. This causes BUG_ON() when the block is hot-unplugged and the hot-plugged again, due to the sysfs inconsistency detection.

This patchset fixes the problem.

Linux 5.9-rc5 (Linus Torvalds)

Torvalds sees the gray world due to the wildfires but he also sees the release is quite normal. Just as normal as usual rc5.

Below is the diffstat of the releases in the last two years.

Kernel release stat

Note that the y-axis is in logarithm. I draw it using and using below command:

$ --since 2018-08-24 | ~/lazybox/gnuplot/ \
    --data_fmt table --type labeled-lines --xtics_rotate -90 \
    --font "Times New Roman, 5pt" --ylog --pointsize 0.3

And, below is the diffstat of the -rc3 releases in the last two years.

rc2 release stat

SeongJae Park
Kernel Development Engineer

SeongJae Park is a programmer who loves to analyze and develop systems.