[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sound
Subject:    Re: mmap()/mlockall()/read()
From:       est () hyperreal ! org
Date:       1999-10-27 21:15:21
[Download RAW message or body]

Benno Senoner discourseth:
> 
> I think the best fallback solution is the following (but not 100% reliable
> in the case of syscalls):
> mlock(MCL_CURRENT);
> mlock() malloec()ed aread

Hmm, I remain sceptical that I'll see large apps using this.  Using
other-people's-libraries is common after all.  It would mean a lot of
work that doesn't seem worth the benefit to me.  However, it would be
pleasant if people proved me wrong. :)

> but strange,
> MAP_UNLOCKED seems to not exist on my 2.2.12 kernel !!

It doesn't exist..I made it up! :)

I think it would be A Good Idea, and it looks easy to add.

> > Eric is hard to satisfy. :)
> 
> You are not the only !
> :-)

Thence comes progress.

Eric

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic