Skip to content

Efficiency cleanups

Will Deacon linux-arm-kernel linux-sh 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchWill Deacon
SeriesA-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Efficiency cleanups
Quoted 8 lines · Russell King - ARM Linux

While developing the previous patch set, I noticed that the kernel's "fast" exit path efficiency was not what it's supposed to be due to the addition of trace and context tracking.

These add several instances of register stacking and unstacking around various function calls, several of which we can avoid. Many of these instances don't need to stack any register other than r0.

Quoted 5 lines

Moreover, we can avoid stacking and unstacking r0 if these features are enabled by storing r0 in the pt_regs as we would do in our slow return path.

Various other cleanups are included in this set as well. Acks welcome.

All four patches look fine to me:

For some reason, I thought the numbering of the TIF_ flags was important for some immediate construction in asm code, but either I'm mistaken or it's no longer the case.

Will