Subject: Re: NetBSD Sparc32 SMP crash
To: None <ghen@telenet.be>
From: Chuck Silvers <chuq@chuq.com>
List: port-sparc
Date: 05/21/2005 02:02:33
On Sat, May 21, 2005 at 03:14:52AM +0200, Geert Hendrickx wrote:
> On Fri, May 20, 2005 at 06:19:45AM -0700, Chuck Silvers wrote:
> > On Fri, May 20, 2005 at 01:07:27PM +0200, Martin Husemann wrote:
> > > It crashes on i386 SMP machines too - please someone file a PR ;-)
> >
> > I checked in a fix already.
> >
> > -Chuck
>
> Could you please give a little more details? =)
Module Name: src
Committed By: chs
Date: Fri May 20 13:16:54 UTC 2005
Modified Files:
src/sys/miscfs/kernfs: kernfs.h kernfs_vnops.c
Log Message:
kernfs does not support mmap(), remove code that pretends that it does.
To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/sys/miscfs/kernfs/kernfs.h
cvs rdiff -r1.107 -r1.108 src/sys/miscfs/kernfs/kernfs_vnops.c
so now mmap() will fail for kernfs files (like it used to before about
a year ago), and program should fall back to read(), which works fine.
-Chuck