summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/BUILD
diff options
context:
space:
mode:
authorZhaozhong Ni <nzz@google.com>2018-06-20 11:01:32 -0700
committerShentubot <shentubot@google.com>2018-06-20 11:02:41 -0700
commit4e9f0e91d724b547e1ecaeeb210017f4c0b3fd0d (patch)
treecb9ad8f86c410ae08abb66e851be4bf97c201893 /pkg/sentry/kernel/BUILD
parent5397963b5d4d57bd3d3668df880b5314ca2fc3d8 (diff)
sentry: pending signals S/R optimization.
Almost all of the hundreds of pending signal queues are empty upon save. PiperOrigin-RevId: 201380318 Change-Id: I40747072435299de681d646e0862efac0637e172
Diffstat (limited to 'pkg/sentry/kernel/BUILD')
-rw-r--r--pkg/sentry/kernel/BUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkg/sentry/kernel/BUILD b/pkg/sentry/kernel/BUILD
index 377c94e4c..b2a55ddff 100644
--- a/pkg/sentry/kernel/BUILD
+++ b/pkg/sentry/kernel/BUILD
@@ -13,7 +13,7 @@ go_stateify(
"ipc_namespace.go",
"kernel.go",
"pending_signals.go",
- "pending_signals_list.go",
+ "pending_signals_state.go",
"process_group_list.go",
"ptrace.go",
"rseq.go",
@@ -46,7 +46,10 @@ go_stateify(
"version.go",
],
out = "kernel_state.go",
- imports = ["gvisor.googlesource.com/gvisor/pkg/sentry/kernel/kdefs"],
+ imports = [
+ "gvisor.googlesource.com/gvisor/pkg/sentry/arch",
+ "gvisor.googlesource.com/gvisor/pkg/sentry/kernel/kdefs",
+ ],
package = "kernel",
)
@@ -117,6 +120,7 @@ go_library(
"kernel_state.go",
"pending_signals.go",
"pending_signals_list.go",
+ "pending_signals_state.go",
"process_group_list.go",
"ptrace.go",
"rseq.go",