24-28 August 2020
US/Pacific timezone

Generic functionality for system call and trap entry and exit

25 Aug 2020, 09:00
25m
Microconference3/Virtual-Room (LPC 2020)

Microconference3/Virtual-Room

LPC 2020

150
linux/arch/* MC linux/arch/* MC

Speaker

Thomas Gleixner

Description

The system call entry and exit code is needlessly duplicated and different
in all architectures. The work carried after the real low level ASM bits
should not be different accross architectures as well as the code that
handles the pending work before returning from a system call to user space.
Likewise, the interrupt and exception handling has to establish the state
for various kernel subsystems like lockdep, RCU and tracing and there is no
good reason to have twenty-some similar and pointlessly different
implementations.

A common infrastructure for kernel entry handling was merged in v5.9
release cycle and for now it is only used by x86.

Let's discuss how this infrastructure is adopted by other architectures.

I agree to abide by the anti-harassment policy I agree

Primary author

Presentation Materials