Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/librumpuser



Antti Kantee wrote:
> Use RUMPCOMP_USER_SRCS, several examples under src/sys/rump
Thanks for the pointer, will do.

> That's one more indication that "sync icache" is the wrong level of problem
> to represent at the interface level.

Existence of __clear_cache is an indication of the opposite.

I'm not saying that POSIX should have icache sync routine, they
could specify that mprotect syscall that turns on PROT_EXEC should
sync icache. But that's no guaranteed by POSIX.

> If it were a high-level, holistic
> interface, both the caller and callee would what needs to be done, and the
> caller could perhaps implement the same with a alternative method.  A
> low-level interface like "sync icache for this memory range" leaves no room
> for interpretation, even if it will ever be used for only one purpose.

Not quite sure what you're saying because no room for interpretation
is a good thing in general and using something for one purpose is even
better ;-)

-- 
Alex


Home | Main Index | Thread Index | Old Index