Page MenuHomeFreeBSD

linux(4): Microoptimize rt_sendsig() on amd64.
ClosedPublic

Authored by dchagin on Feb 1 2023, 11:08 AM.
Tags
None
Referenced Files
F109352462: D38326.diff
Mon, Feb 3, 10:46 PM
Unknown Object (File)
Mon, Jan 27, 5:17 AM
Unknown Object (File)
Jan 2 2025, 8:44 AM
Unknown Object (File)
Dec 25 2024, 6:54 AM
Unknown Object (File)
Dec 3 2024, 1:11 PM
Unknown Object (File)
Nov 17 2024, 4:42 PM
Unknown Object (File)
Oct 27 2024, 11:26 PM
Unknown Object (File)
Oct 21 2024, 3:50 PM
Subscribers

Details

Summary

Drop proc lock earlier, before copying user stuff.

Pointed out by: kib

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 49428
Build 46318: arc lint + arc unit

Event Timeline

in the expectation:
ksiginfo_t *ksi
sigset_t *mask
both are on stack and do not need to proc lock

sys/amd64/linux/linux_sysvec.c
480

Strictly speaking, you can unlock right before this line.

sure, I left these lines together as a unit of code for sp,
now done.

This revision is now accepted and ready to land.Feb 1 2023, 9:28 PM