Source-Changes archive

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

Re: CVS commit: src/sys/miscfs/genfs



> yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi) wrote:
> > > These operations (free and unmap) do not require glock. Why would you want
> > > to keep the operations, which might potentially block, under the lock?
> > 
> > because pager map is a system-global resource.
> 
> Address space is managed by UVM, with appropriate locking. At the unmap
> point, there are no references to KVA. Can you explain more?

keeping the map longer can block other threads.

YAMAMOTO Takashi

> 
> > 
> > YAMAMOTO Takashi
> 
> -- 
> Best regards,
> Mindaugas


Home | Main Index | Thread Index | Old Index