From 93493f41dc01ba4e13d5d35f71ed24c502c80e2d Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 20 Feb 1996 21:05:37 +0000 Subject: (_pager_seqnos_memory_object_lock_completed): Print a notice when an incoming lock completion corresponds to no outstanding lock request. --- libpager/lock-completed.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libpager/lock-completed.c b/libpager/lock-completed.c index a59550fe..a2a96dbf 100644 --- a/libpager/lock-completed.c +++ b/libpager/lock-completed.c @@ -1,5 +1,5 @@ /* Implementation of memory_object_lock_completed for pager library - Copyright (C) 1994, 1995 Free Software Foundation + Copyright (C) 1994, 1995, 1996 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -61,6 +61,10 @@ _pager_seqnos_memory_object_lock_completed (mach_port_t object, break; } + if (!lr) + printf ("orphaned lock_request: offset = %#x; length = %#x\n", + offset, length); + _pager_release_seqno (p, seqno); mutex_unlock (&p->interlock); ports_port_deref (p); -- cgit v1.2.3