Subject: kern/28372: layered filesystem getpages breakage
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 11/21/2004 02:04:01
>Number:         28372
>Category:       kern
>Synopsis:       layered filesystem getpages breakage
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 21 02:04:00 +0000 2004
>Originator:     YAMAMOTO Takashi <>
>Release:        NetBSD 2.99.10

System: NetBSD kaeru 2.99.10 NetBSD 2.99.10 (build.kaeru) #1868: Sun Nov 14 21:56:35 JST 2004 takashi@kaeru:/usr/home/takashi/work/kernel/build.kaeru i386
Architecture: i386
Machine: i386
	there're many codes in uvm which assume,
	if a page pg is obtained by pgo_get with an uvm object uobj,
	pg->uobject == uobj.  this assumption is wrong for
	the most of our layered filesystems.

		pgo_get(uobj, ..., &pg, ...);
		manipulate pg->flags; /* broken if pg->uobject != uobj */

	code inspection.