PTE modified bit emulation trap

Dag-Erling Smørgrav <[email protected]> Thu, 14 May 2009 01:47:38 +0200
Newsgroups gmane.os.freebsd.devel.alpha
Message-ID <[email protected]>
Coverity complains about the lack of error checking in the following
code in sys/kern/kern_sysctl.c, around line 1390:

	/*
	 * Touch all the wired pages to avoid PTE modified
	 * bit emulation traps on Alpha while holding locks
	 * in the sysctl handler.
	 */
	for (i = (wiredlen + PAGE_SIZE - 1) / PAGE_SIZE,
	    cp = req->oldptr; i > 0; i--, cp += PAGE_SIZE) {
		copyin(cp, &dummy, 1);
		copyout(&dummy, cp, 1);
	}

Since Alpha is dead, can we remove this, or is it still needed for other
platforms?

DES
-- 
Dag-Erling Smørgrav - [email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-alpha
To unsubscribe, send any mail to "[email protected]"