LKML News v5.8

[PATCH v2 0/7] mm: introduce memfd_secret system call to create “secret” memory areas (Mike Rapoport)

This is the second version of the secretmemfd. In this version, the system call has renamed to ‘memfd_secret’.

[RFC PATCH 0/5] madvise MADV_DOEXEC (Anthony Yznaga)

This patch introduces another madvise hint, MADV_DOEXEC. It preserves an anonymous memory range across exec.

[RFC PATCH 0/6] decrease unnecessary gap due to pmem kmem alignment (Jia He)

Because dax pmem as RAM device on arm64 makes the start address aligned with 1G memblock size, the amount of memory space of it is limited. This patch decreases the alignment requirement to solve the problem.

Raw spinlocks and memory allocation (Paul E. McKenney)

Paul E. McKenney is asking mm people to add new GFP_ flag for RCU. In case of raw atomic contexts, call_rcu() traditionally traversed a cache cold linked list for the callbacks. Instead, recently Uladzislau has made it to use array instead of the linked list. It showed non subtle benefit. Now, how the array should be allocated? Because it’s called within the raw atomic context, it shouldn’t hold the non-raw spinlock. However, there is no GFP_ flag for such behavior. Paul, hence, is asking mm people to add another GFP_ flag of the behavior.

[PATCH] mm: introduce reference pages (Peter Collingbourne)

This patch introduces a new mmap flag, MAP_REFPAGE. It creates a mapping backed by a reference page, which address is specified using the offset argument to mmap. Thus, reading the region can be done directly from the reference page, and the writing to the region will do copy-on-write.

Linux 5.8 (Linus Torvalds)

I was very curious what the name of this release will be, as the march to v5.8 seemed quite dynamic. Torvalds also says he considered rc8 all the way to the last minute. He finally decided to release v5.8 instead of the v5.8-rc8. I titled this post in my estimation, and it fortunately turned out to be right :)

Torvalds explains though we had very large rc1 for this release, there were really nothing scary. Though there were header dependency problem last week, Torvalds says it was always there annoying and he says about adoption of some tooling.

So in the last week, there were the silly header file noise, dominant networking pull request, and some RCU fixes. And, the big release of 5.8 is here now!

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-07-27 | ~/lazybox/gnuplot/ \
    --data_fmt table --type labeled-lines --xtics_rotate -90 \
    --font "Times New Roman, 5pt" --ylog --pointsize 0.3
SeongJae Park
Kernel Development Engineer

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