Skip to content

Commit c44940e

Browse files
committed
yukon: block handle 10 again
1 parent 9860f4f commit c44940e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

runtime/core/ThreadCache.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,9 @@ namespace alaska {
233233
}
234234

235235
// Handle 0 is disallowed on yukon hardware because it cannot be invalidated
236-
if (unlikely(m->handle_id() == 0)) {
236+
// Also, 10 is cursed so we skip it too
237+
auto hid = m->handle_id();
238+
if (unlikely(hid == 0 || hid == 10)) {
237239
return new_mapping();
238240
}
239241

0 commit comments

Comments
 (0)