NetBSD Problem Report #36163

From ad@hairylemon.org  Tue Apr 17 11:44:52 2007
Return-Path: <ad@hairylemon.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id B292763B964
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 17 Apr 2007 11:44:52 +0000 (UTC)
Message-Id: <E1Hdm79-0006RD-Fs@ns0.hairylemon.org>
Date: Tue, 17 Apr 2007 12:44:51 +0100
From: ad@netbsd.org
Sender: Andrew Doran <ad@hairylemon.org>
Reply-To: ad@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: I386_CPU is obsolete and should be removed
X-Send-Pr-Version: 3.95

>Number:         36163
>Category:       port-i386
>Synopsis:       I386_CPU is obsolete and should be removed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ad
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 17 11:45:00 +0000 2007
>Closed-Date:    Thu Nov 15 19:26:28 +0000 2007
>Last-Modified:  Thu Nov 15 19:26:28 +0000 2007
>Originator:     Andrew Doran
>Release:        NetBSD 4.99.17
>Organization:
The NetBSD Project
>Environment:
Architecture: i386
>Description:
[Resending - the web form ate my earlier PR]

The I386_CPU option is obsolete and should be removed. In brief:

- It hasn't worked properly for some time. We shouldn't be advertising
  features that we cannot support.

- It adds code complexity and maintenance overhead in a number of areas. If
  nothing else, we should be able to rely on features that x86 CPUs have been
  providing for nearly 20 years like: cmpxchg, xadd, invlpg.

- The 80386 was mostly overlooked by users, who skipped it and got 486 class
  machines. The majority of the machines out there are severely underpowered
  and are better served by a comtemporary operating system like MS-DOS or
  386BSD.
>How-To-Repeat:
Code inspection, common sense.
>Fix:
- Remove the option.
- Update documentation.
- Announce its removal.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-i386-maintainer->ad
Responsible-Changed-By: ad@netbsd.org
Responsible-Changed-When: Sun, 27 May 2007 22:32:48 +0000
Responsible-Changed-Why:
I'm working on it.


From: Andrew Doran <ad@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36163 CVS commit: src/sys/arch
Date: Thu, 15 Nov 2007 19:18:35 +0000 (UTC)

 Module Name:	src
 Committed By:	ad
 Date:		Thu Nov 15 19:18:35 UTC 2007

 Modified Files:
 	src/sys/arch/amd64/amd64: trap.c
 	src/sys/arch/i386/conf: ALL GENERIC_PS2TINY GENERIC_TINY INSTALL_SMALL
 	    INSTALL_TINY files.i386
 	src/sys/arch/i386/i386: copy.S identcpu.c trap.c
 	src/sys/arch/x86/include: cpufunc.h pmap.h
 	src/sys/arch/xen/conf: files.xen
 	src/sys/arch/xen/i386: identcpu.c locore.S pmap.c trap.c
 	src/sys/arch/xen/include: pmap.h

 Log Message:
 Remove support for 80386 level CPUs. PR port-i386/36163.


 To generate a diff of this commit:
 cvs rdiff -r1.35 -r1.36 src/sys/arch/amd64/amd64/trap.c
 cvs rdiff -r1.140 -r1.141 src/sys/arch/i386/conf/ALL
 cvs rdiff -r1.48 -r1.49 src/sys/arch/i386/conf/GENERIC_PS2TINY
 cvs rdiff -r1.108 -r1.109 src/sys/arch/i386/conf/GENERIC_TINY
 cvs rdiff -r1.137 -r1.138 src/sys/arch/i386/conf/INSTALL_SMALL
 cvs rdiff -r1.114 -r1.115 src/sys/arch/i386/conf/INSTALL_TINY
 cvs rdiff -r1.320 -r1.321 src/sys/arch/i386/conf/files.i386
 cvs rdiff -r1.8 -r1.9 src/sys/arch/i386/i386/copy.S
 cvs rdiff -r1.82 -r1.83 src/sys/arch/i386/i386/identcpu.c
 cvs rdiff -r1.223 -r1.224 src/sys/arch/i386/i386/trap.c
 cvs rdiff -r1.2 -r1.3 src/sys/arch/x86/include/cpufunc.h
 cvs rdiff -r1.3 -r1.4 src/sys/arch/x86/include/pmap.h
 cvs rdiff -r1.68 -r1.69 src/sys/arch/xen/conf/files.xen
 cvs rdiff -r1.16 -r1.17 src/sys/arch/xen/i386/identcpu.c
 cvs rdiff -r1.34 -r1.35 src/sys/arch/xen/i386/locore.S
 cvs rdiff -r1.35 -r1.36 src/sys/arch/xen/i386/pmap.c
 cvs rdiff -r1.19 -r1.20 src/sys/arch/xen/i386/trap.c
 cvs rdiff -r1.13 -r1.14 src/sys/arch/xen/include/pmap.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: ad@netbsd.org
State-Changed-When: Thu, 15 Nov 2007 19:26:28 +0000
State-Changed-Why:
Done.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.