Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2014 21:05:08 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r267650 - head/sys/vm
Message-ID:  <201406192105.s5JL58N0050685@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Thu Jun 19 21:05:07 2014
New Revision: 267650
URL: http://svnweb.freebsd.org/changeset/base/267650

Log:
  Eliminate a pointless call to vm_map_clip_start() from vm_map_growstack().
  For this call to do anything at all we would have to have two overlapping
  map entries.
  
  Submitted by:	kib

Modified:
  head/sys/vm/vm_map.c

Modified: head/sys/vm/vm_map.c
==============================================================================
--- head/sys/vm/vm_map.c	Thu Jun 19 20:12:28 2014	(r267649)
+++ head/sys/vm/vm_map.c	Thu Jun 19 21:05:07 2014	(r267650)
@@ -3730,9 +3730,6 @@ Retry:
 			stack_entry->avail_ssize -= grow_amount;
 			vm_map_entry_resize_free(map, stack_entry);
 			rv = KERN_SUCCESS;
-
-			if (next_entry != &map->header)
-				vm_map_clip_start(map, next_entry, addr);
 		} else
 			rv = KERN_FAILURE;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406192105.s5JL58N0050685>