Subject: Re: cacheflush() proposal
To: Jason Thorpe <email@example.com>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 12/02/1998 16:58:15
Jason Thorpe <email@example.com> 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 - firstname.lastname@example.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.