]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'access-creds'
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Jul 2019 15:36:29 +0000 (08:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Jul 2019 15:36:29 +0000 (08:36 -0700)
commit06af3c07caa59301e5c3f3860c0e825c041ecc2b
tree069e48d9d1520b54805861d54cbac6ac53b93021
parent7d3cd1f1bae53ae6b059f44b778a17f8adc94af0
parentc358ac4ca5c6205530b6026a1a04353ed4dc94e7
Merge branch 'access-creds'

The access() (and faccessat()) credentials change can cause an
unnecessary load on the RCU machinery because every access() call ends
up freeing the temporary access credential using RCU.

This isn't really noticeable on small machines, but if you have hundreds
of cores you can cause huge slowdowns due to RCU storms.

It's easy to avoid: the temporary access crededntials aren't actually
normally accessed using RCU at all, so we can avoid the whole issue by
just marking them as such.

* access-creds:
  access: avoid the RCU grace period for the temporary subjective credentials
kernel/cred.c