On Wed, Jan 17, 2024 at 08:14:46AM -0800, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote: > Allow flock cache accounting to be disabled with 'mitigations=off', as > it fits the profile for that option: trusted user space combined with a > performance-impacting mitigation. Note that some other kernel objects that don't have any other tight limit are already charged too (but their charging likely did not stand out in any performance regression tests). In the situation you describe, users can already pass `cgroup.memory=nokmem` and get rid of charging overhead in general. IOW, if flock objects are charged, there already is a boot option to turn off such behavior. Regards, Michal
Attachment:
signature.asc
Description: PGP signature