From a1d5bbf586cef2772f9c25518a5f3e50a47a7f47 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Tue, 18 Dec 1990 00:56:30 +0000 Subject: [PATCH] There is no need to flush the number stack from the cache when restoring, cause we use bcopy to copy the old stack into place. --- ldb/save.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ldb/save.c b/ldb/save.c index ee35b03ac..72cf2e9d7 100644 --- a/ldb/save.c +++ b/ldb/save.c @@ -275,7 +275,6 @@ struct sigcontext *old_context; vm_size_t len; vm_address_t nsp; kern_return_t res; - vm_machine_attribute_val_t flush; /* We have to move the number stack into place. */ @@ -288,14 +287,6 @@ struct sigcontext *old_context; vm_deallocate(task_self(), number_stack, round_page(len)); - /* Flush the old number stack from the cache. */ - flush = MATTR_VAL_CACHE_FLUSH; - - res = vm_machine_attribute(task_self(), nsp, len, - MATTR_CACHE, &flush); - if (res != KERN_SUCCESS) - mach_error("Could not flush the number stack from the cache: ", res); - sigreturn(&context); /* We should not get here. */ -- GitLab