NetBSD Problem Report #33513

From  Fri May 19 13:06:01 2006
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 8B6E163BA67
	for <>; Fri, 19 May 2006 13:06:00 +0000 (UTC)
Message-Id: <>
Date: Fri, 19 May 2006 22:05:44 +0900
Subject: vnode dirtiness problem
X-Send-Pr-Version: 3.95

>Number:         33513
>Category:       kern
>Synopsis:       vnode dirtiness problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 19 13:10:00 +0000 2006
>Last-Modified:  Sat Oct 14 09:25:05 +0000 2006
>Originator:     YAMAMOTO Takashi <>
>Release:        NetBSD 3.99.17


System: NetBSD kaeru 3.99.17
Architecture: i386
Machine: i386
	there are some code which explicitly mark pages dirty by clearing
	PG_CLEAN.  if the pages belong to a vnode, the vnode should be
	marked dirty as well.

	i guess what Joel CARNAT reported on port-xen@ is a symptom of
	this bug.
	code inspection.
	when making a page dirty,
	- mark the vnode dirty.
	- if the filesystem uses genfs, increment g_dirtygen somehow.

From: YAMAMOTO Takashi <>
Subject: PR/33513 CVS commit: src/sys/uvm
Date: Sat, 14 Oct 2006 09:23:56 +0000 (UTC)

 Module Name:	src
 Committed By:	yamt
 Date:		Sat Oct 14 09:23:56 UTC 2006

 Modified Files:
 	src/sys/uvm: uvm_loan.c

 Log Message:
 uvm_loanbreak: transfer dirtiness of the old page to the new page,
 rather than blindly mark it dirty.  fix a part of PR/33513.

 To generate a diff of this commit:
 cvs rdiff -r1.60 -r1.61 src/sys/uvm/uvm_loan.c

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


NetBSD Home
NetBSD PR Database Search

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