Linux 5.10-rc1 was released, Linus said that "historical" file manipulation methods were deleted

On October 25, Linus Torvalds sent an email stating that 5.10-rc1 had been marked and launched . This merger exceeded its expectations. It can be called a large merger window, with nearly 1,700 people making 14,000 submissions.

Linus said that the most interesting change for him was the removal of Christoph set_fs().

set_fs()It is a method model for manipulating files in the Linux kernel, which can control whether the user space copy actually enters the user space or the kernel space. Deleted set_fs()later, allowing kernel more secure and will not be intrusive copy of a user space.

set_fs()It has existed for nearly 30 years, and the entire model can be traced back to the original release of Linux. Linus believes that set_fs()the name is also very historical. set_fs()It still exists, not all architectures have used the new method, but x86, powerpc, s390 and RISC-V have deleted the address space instead, and all core work has been completed. And other architectures are also being converted from this very old model.

"For most people, all of this is not important. 5.10 no longer relies on the entire set_fs()model, just a small historical footnote." Linus finally said that most of the actual changes are driver updates.

The major changes in this version also include: end of support for PowerPC 601 CPU; support for Nvidia's Orin SOC for self-driving cars and robots; better support for the graphics driver of Broadcom CPU used in Raspberry Pi 4, etc.

Further reading:

The method of operating files in the linux kernel-use get_fs() and set_fs(KERNEL_DS)

Guess you like

Origin www.oschina.net/news/119469/linux-5-10-rc1-released