Subject: kern/23831: bogus line in uvm_anon_add()
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ups@stups.com>
List: netbsd-bugs
Date: 12/21/2003 20:08:26
>Number: 23831
>Category: kern
>Synopsis: bogus line in uvm_anon_add()
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 21 20:09:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Stephan Uphoff
>Release: current Dec 21/2003
>Organization:
>Environment:
N/A source
>Description:
The line
simple_lock_init(&anon->an_lock);
in function uvm_anon_add() should be deleted.
It just causes the lock of the first annon to be initialized
multiple times.
>How-To-Repeat:
>Fix:
see description.
>Release-Note:
>Audit-Trail:
>Unformatted: