Subject: Re: cacheflush() proposal
To: Jason Thorpe <firstname.lastname@example.org>
From: Chris G. Demetriou <email@example.com>
Date: 12/02/1998 16:58:15
Jason Thorpe <firstname.lastname@example.org> writes:
> How about <sys/cachectl.h>, and we just be basically compatible with the
> IRIX interface? Maybe also implement cachectl(2)? (make a range cacheable
> or uncacheable)
hmm. i wonder if there are VM system interactions with making a range
of memory cacheable or uncacheable.
e.g. the sparc has to Do The Right Thing re: object alignment for
objects shared between processes, and if it can't it "has" to mark
Are there any interactions with that type of thing, that require the
VM system to become involved?
Is there any reason to make cachectl() anything other than a normal
syscall(), like mprotect(), etc.
Chris Demetriou - email@example.com - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.