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)
Fri, Apr 10, 11:43 AM
Unknown Object (File)
Mon, Apr 6, 6:01 AM
Unknown Object (File)
Thu, Apr 2, 8:33 PM
Unknown Object (File)
Mon, Mar 23, 9:07 PM
Unknown Object (File)
Thu, Mar 19, 8:40 PM
Unknown Object (File)
Mar 14 2026, 2:50 PM
Unknown Object (File)
Mar 10 2026, 1:50 PM
Unknown Object (File)
Feb 8 2026, 3:34 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 20166