From fanf@dotat.at  Fri Aug  4 14:59:53 2000
Return-Path: <fanf@dotat.at>
Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62])
	by hub.freebsd.org (Postfix) with ESMTP id 003FD37B51A
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 Aug 2000 14:59:52 -0700 (PDT)
	(envelope-from fanf@dotat.at)
Received: from fanf by hand.dotat.at with local (Exim 3.15 #3)
	id 13KpVR-0009Xd-00
	for FreeBSD-gnats-submit@freebsd.org; Fri, 04 Aug 2000 21:59:53 +0000
Message-Id: <E13KpVR-0009Xd-00@hand.dotat.at>
Date: Fri, 04 Aug 2000 21:59:53 +0000
From: Tony Finch <dot@dotat.at>
Sender: fanf@dotat.at
Reply-To: Tony Finch <dot@dotat.at>
To: FreeBSD-gnats-submit@freebsd.org
Subject: LINT's cache-colouring comments don't correspond to vm_page.h
X-Send-Pr-Version: 3.2

>Number:         20409
>Category:       kern
>Synopsis:       LINT's cache-colouring comments don't correspond to vm_page.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kbyanc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 04 15:00:03 PDT 2000
>Closed-Date:    Tue Aug 8 01:13:26 PDT 2000
>Last-Modified:  Tue Aug 08 01:16:35 PDT 2000
>Originator:     Tony Finch <dot@dotat.at>
>Release:        FreeBSD 4.1-STABLE-20000729 i386
>Organization:
dotat
>Environment:

FreeBSD hand.dotat.at 4.1-STABLE-20000729 FreeBSD 4.1-STABLE-20000729 #0: Sun Jul 30 00:30:12 UTC 2000     root@hand.dotat.at:/other/obj/other/src/sys/DELL-Latitude-CPx  i386

>Description:

The comments regarding the cache sizes that PQ_NORMALCACHE and PQ_MEDIUMCACHE
correspond to are diffrerent in LINT and in vm_page.h. It looks like the
ones in LINT are the wrong way around.

>How-To-Repeat:

>Fix:

--- LINT.orig	Fri Aug  4 21:53:43 2000
+++ LINT	Fri Aug  4 21:54:02 2000
@@ -75,8 +75,8 @@
 #options 	PQ_NOOPT		# No coloring
 options 	PQ_LARGECACHE		# color for 512k/16k cache
 #options 	PQ_HUGECACHE		# color for 1024k/16k cache
-#options 	PQ_MEDIUMCACHE		# color for 64k/16k cache
-#options 	PQ_NORMALCACHE		# color for 256k/16k cache
+#options 	PQ_MEDIUMCACHE		# color for 256k/16k cache
+#options 	PQ_NORMALCACHE		# color for 64k/16k cache
 
 # This allows you to actually store this configuration file into
 # the kernel binary itself, where it may be later read by saying:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->kbyanc 
Responsible-Changed-By: kbyanc 
Responsible-Changed-When: Mon Aug 7 01:06:57 PDT 2000 
Responsible-Changed-Why:  
I'll take this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20409 
State-Changed-From-To: open->closed 
State-Changed-By: kbyanc 
State-Changed-When: Tue Aug 8 01:13:26 PDT 2000 
State-Changed-Why:  
Committed, thanks! 
By the way, this also reminded me to MFC the new PQ_CACHESIZE option. 
PQ_CACHESIZE allows you to set the cache size (in K) to color for. So 
doubly-thanks. :) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20409 
>Unformatted:
