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)
Sun, Dec 15, 8:45 AM
Unknown Object (File)
Sat, Dec 7, 2:23 PM
Unknown Object (File)
Nov 7 2024, 5:54 PM
Unknown Object (File)
Oct 25 2024, 7:49 AM
Unknown Object (File)
Oct 24 2024, 2:53 AM
Unknown Object (File)
Oct 18 2024, 10:35 PM
Unknown Object (File)
Oct 5 2024, 8:59 AM
Unknown Object (File)
Sep 28 2024, 6:04 AM
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