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
F169496547: D17536.id.diff
Tue, Sep 1, 5:19 PM
F169396868: D17536.diff
Tue, Sep 1, 10:20 AM
F169359681: D17536.diff
Tue, Sep 1, 7:47 AM
Unknown Object (File)
Mon, Aug 31, 1:33 AM
Unknown Object (File)
Sun, Aug 30, 12:41 PM
Unknown Object (File)
Sun, Aug 30, 7:05 AM
Unknown Object (File)
Sun, Aug 30, 3:32 AM
Unknown Object (File)
Wed, Aug 26, 9:58 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