NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/38705: Unnecessary duplication of kernel code in userland
>Number: 38705
>Category: kern
>Synopsis: Duplication of i386 CPU identification data
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 20 13:55:00 +0000 2008
>Originator: Paul Goyette
>Release: NetBSD 4.99.62
>Organization:
----------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------
>Environment:
System: NetBSD quicky.whooppee.com 4.99.62 NetBSD 4.99.62 (QUICKY (ASUS M2N32
WS) 2008-05-14 13:20:42) #1: Wed May 14 06:25:08 PDT 2008
paul%speedy.whooppee.com@localhost:/build/obj/amd64/sys/arch/amd64/compile/QUICKY
amd64
Architecture: x86_64
Machine: amd64
>Description:
Various definitions and data structures related to CPU identification are
duplicated in 'src/usr.sbin/cpuctl/arch/i386.c'. The original source of
the duplicate data is 'src/sys/arch/x86/include/cacheinfo.h' and
'src/sys/arch/x86/x86/identcpu.c'.
>How-To-Repeat:
>Fix:
Not sure if the correct solution, but the current situation leads to a
serious maintenance/synchronization issue. Already noted in separate PR
is the discrepancy of AMD cache associativity data (which was updated in
the kernel code but not in cpuctl).
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index