Page MenuHomeFreeBSD

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

Authored by dchagin on Feb 1 2023, 11:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 7:42 AM
Unknown Object (File)
Aug 2 2023, 12:27 PM
Unknown Object (File)
Jul 3 2023, 5:52 AM
Unknown Object (File)
May 10 2023, 8:08 PM
Unknown Object (File)
Apr 6 2023, 4:07 AM
Unknown Object (File)
Mar 21 2023, 2:04 PM
Unknown Object (File)
Feb 4 2023, 3:32 AM
Unknown Object (File)
Feb 2 2023, 10:00 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 Not Applicable
Unit
Tests Not Applicable

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