]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move racct/rctl throttling from userret() to ast(). There's no reason
authortrasz <trasz@FreeBSD.org>
Mon, 14 Sep 2020 09:44:24 +0000 (09:44 +0000)
committertrasz <trasz@FreeBSD.org>
Mon, 14 Sep 2020 09:44:24 +0000 (09:44 +0000)
commit92b87529e3da767f5aae915402c00be291faba68
treea3dbbb0ae60e69e9becb11c764b8aed9ed559896
parent30a3a9f6509e2f386b6a281f84b73ed521a8a8de
Move racct/rctl throttling from userret() to ast().  There's no reason
for it to sit in the syscall fast path.

Reviewed by: kib
MFC after: 2 weeks
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D26368
sys/kern/kern_racct.c
sys/kern/subr_trap.c