From owner-svn-src-head@freebsd.org Fri Nov 3 14:20:51 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B334BE536D0 for ; Fri, 3 Nov 2017 14:20:51 +0000 (UTC) (envelope-from Don.Morris@dell.com) Received: from esa6.dell-outbound.iphmx.com (esa6.dell-outbound.iphmx.com [68.232.149.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.dell-outbound.iphmx.com", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 814C266421 for ; Fri, 3 Nov 2017 14:20:51 +0000 (UTC) (envelope-from Don.Morris@dell.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dell.com; i=@dell.com; q=dns/txt; s=smtpout; t=1509718851; x=1541254851; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=QYQo/Uj0BZgqV7DwSl4/3+uea4vQ3/a4877MeZAXk8c=; b=Yi8SalDFwP3EjJ+xWJhQsjiNekPj67QBsNYLSr20CpEKFgEvZxhbVXOw P2kqD6kwK88p/1SrIJUX0OZbCx5nQ8tg63N9GEUUtCw/HDVSl7hrIfXYg s+Y6Zrz8vA8lu1LrBQ3/Bi6rLoIk/qKA//KTNLRSWiW5Dy4U/5vvXLAqi Y=; Received: from esa4.dell-outbound2.iphmx.com ([68.232.154.98]) by esa6.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Nov 2017 09:20:45 -0500 From: "Morris, Don" Received: from mailuogwdur.emc.com ([128.221.224.79]) by esa4.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Nov 2017 20:20:45 +0600 Received: from maildlpprd55.lss.emc.com (maildlpprd55.lss.emc.com [10.106.48.159]) by mailuogwprd54.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id vA3EKhPj028563 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 3 Nov 2017 10:20:44 -0400 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd54.lss.emc.com vA3EKhPj028563 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=isilon.com; s=jan2013; t=1509718844; bh=iPbqomKOImV/B7Pm3M8XKd271tg=; h=From:To:Subject:Date:Message-ID:Content-Type: Content-Transfer-Encoding:MIME-Version; b=ccenQe9eA7yNPydM8NITc8sjUYfWxaKvcMNvplGaISDet52v4Vsk/0H5BGnGQUcsr WBX/0hWDJdi0gQ2JxPZrRMcyJJo/eIQqyGLI3JRXbGGFPSaFdM8/nkSmzXUqnl6kEL CE731dBZoXCsHN57VEOwS63Yzw5yddwz2HKlzvZw= X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd54.lss.emc.com vA3EKhPj028563 Received: from mailusrhubprd01.lss.emc.com (mailusrhubprd01.lss.emc.com [10.253.24.19]) by maildlpprd55.lss.emc.com (RSA Interceptor) for ; Fri, 3 Nov 2017 10:20:38 -0400 Received: from MXHUB215.corp.emc.com (MXHUB215.corp.emc.com [10.253.68.85]) by mailusrhubprd01.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id vA3EKaKm000864 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=FAIL) for ; Fri, 3 Nov 2017 10:20:36 -0400 Received: from MX104CL02.corp.emc.com ([169.254.8.33]) by MXHUB215.corp.emc.com ([10.253.68.85]) with mapi id 14.03.0352.000; Fri, 3 Nov 2017 10:20:36 -0400 To: "svn-src-head@freebsd.org" Subject: RE: svn commit: r325285 - head/sys/amd64/amd64 Thread-Topic: RE: svn commit: r325285 - head/sys/amd64/amd64 Thread-Index: AdNUrnZpeRgPuC0ARgK3Y3ONR4hVwQ== Date: Fri, 3 Nov 2017 14:20:35 +0000 Message-ID: <30042B831BE3AF428BC874A8B81B08E989BFC9ED@MX104CL02.corp.emc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.203.106.21] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Sentrion-Hostname: mailusrhubprd01.lss.emc.com X-RSA-Classifications: public X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 14:20:51 -0000 > Modified: head/sys/amd64/amd64/pmap.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/amd64/amd64/pmap.c Wed Nov 1 16:32:11 2017 (r325284) > +++ head/sys/amd64/amd64/pmap.c Wed Nov 1 18:06:44 2017 (r325285) > @@ -2892,8 +2892,8 @@ reclaim_pv_chunk_leave_pmap(pmap_t pmap, pmap_t loc= ked > static vm_page_t > reclaim_pv_chunk(pmap_t locked_pmap, struct rwlock **lockp) > { > - struct pv_chunk *pc, *pc_marker; > - struct pv_chunk_header pc_marker_b; > + struct pv_chunk *pc, *pc_marker, *pc_marker_end; > + struct pv_chunk_header pc_marker_b, pc_marker_end_b; > struct md_page *pvh; > pd_entry_t *pde; > pmap_t next_pmap, pmap; > @@ -2906,6 +2906,7 @@ reclaim_pv_chunk(pmap_t locked_pmap, struct rwlock = **l > uint64_t inuse; > int bit, field, freed; > bool start_di; > + static int active_reclaims =3D 0; >=20 > PMAP_LOCK_ASSERT(locked_pmap, MA_OWNED); > KASSERT(lockp !=3D NULL, ("reclaim_pv_chunk: lockp is NULL")); > @@ -2914,7 +2915,9 @@ reclaim_pv_chunk(pmap_t locked_pmap, struct rwlock = **l > PG_G =3D PG_A =3D PG_M =3D PG_RW =3D 0; > SLIST_INIT(&free); > bzero(&pc_marker_b, sizeof(pc_marker_b)); > + bzero(&pc_marker_end, sizeof(pc_marker_end)); > pc_marker =3D (struct pv_chunk *)&pc_marker_b; > + pc_marker_end =3D (struct pv_chunk *)&pc_marker_end_b; Shouldn't the additional bzero here be of pc_marker_end_b, not pc_marker_en= d? Minor bug -- but just saying... Don Morris (Statements are not those of my employer, etc, etc...)