Page MenuHomeFreeBSD

Flush L1 data cache on syscall return with an error.
ClosedPublic

Authored by kib on Oct 12 2018, 4:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 1, 7:29 AM
Unknown Object (File)
Jan 17 2024, 2:57 PM
Unknown Object (File)
Dec 20 2023, 2:17 AM
Unknown Object (File)
Dec 19 2023, 5:15 PM
Unknown Object (File)
Dec 10 2023, 11:22 PM
Unknown Object (File)
Nov 11 2023, 4:05 PM
Unknown Object (File)
Nov 10 2023, 8:55 PM
Unknown Object (File)
Nov 7 2023, 7:00 PM
Subscribers

Details

Summary

A knob allows to select the flushing mode or turn it off/on.

It is curious that I was not able to measure statistically significant difference between flush enabled vs disabled using syscall_timing getuid.

List of ignored syscall errors should be updated.

The patch is based on the https://www.openwall.com/lists/kernel-hardening/2018/10/11/10

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable