NetBSD Problem Report #32999
From martin@aprisoft.de Sun Mar 5 00:03:56 2006
Return-Path: <martin@aprisoft.de>
Received: from mail.duskware.de (mail.duskware.de [213.146.108.170])
by narn.netbsd.org (Postfix) with ESMTP id A4F1863B871
for <gnats-bugs@gnats.NetBSD.org>; Sun, 5 Mar 2006 00:03:50 +0000 (UTC)
Message-Id: <200603050003.k2503etA005434@nelly.aprisoft.de>
Date: Sun, 5 Mar 2006 01:03:41 +0100 (CET)
From: Martin Husemann <martin@aprisoft.de>
Reply-To: martin@aprisoft.de
To: gnats-bugs@netbsd.org
Subject: sparc64 uses 32bit VM limits, even in 64 bit mode
X-Send-Pr-Version: 3.95
>Number: 32999
>Category: port-sparc64
>Synopsis: sparc64 uses 32bit VM limits, even in 64 bit mode
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: martin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 05 10:15:44 +0000 2006
>Closed-Date: Sun Nov 15 20:41:21 +0000 2015
>Last-Modified: Sun Nov 15 20:41:21 +0000 2015
>Originator: Martin Husemann
>Release: NetBSD 3.99.15
>Organization:
>Environment:
System: NetBSD nelly.aprisoft.de 3.99.15 NetBSD 3.99.15 (NELLY) #2: Thu Mar 2 11:05:22 CET 2006 martin@nelly.aprisoft.de:/usr/src/sys/arch/sparc64/compile/NELLY sparc64
Architecture: sparc64
Machine: sparc64
>Description:
Content-Length: 240
Lines: 8
For some silly reason (see comment in arch/sparc64/include/vmparam.h)
sparc64 always uses 32bit VM limits - for example the maximum stack
size is 8 MB.
>How-To-Repeat:
code inspection
>Fix:
When fixing this, VM_TOPDOWN should be added too
>Release-Note:
>Audit-Trail:
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/32999 CVS commit: src/sys/arch/sparc64/include
Date: Sun, 15 Nov 2015 20:35:34 +0000
Module Name: src
Committed By: martin
Date: Sun Nov 15 20:35:34 UTC 2015
Modified Files:
src/sys/arch/sparc64/include: vmparam.h
Log Message:
PR 32999: adjust VM parameters for 64 bit kernel/userlands.
Limit old binaries (i.e. processes not using topdown VA layout) to 2 GB
data size.
Use the same limits as native sparc for netbsd32 emulation - we need to
revisit this, but currently automatic test runs in this environment
fail big time, so there is no easy way to verify any changes.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/sparc64/include/vmparam.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: port-sparc64-maintainer->martin
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Sun, 15 Nov 2015 20:41:21 +0000
Responsible-Changed-Why:
cosmetics
State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Sun, 15 Nov 2015 20:41:21 +0000
State-Changed-Why:
I fixed it in -current
>Unformatted:
(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-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.