Current-Users archive

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

Re: vm.ubc_direct



hi,

2019年12月4日(水) 2:58 Chuck Silvers <chuq%chuq.com@localhost>:
On Mon, Dec 02, 2019 at 07:10:52PM +0000, Andrew Doran wrote:
> Hello,
>
> In light of the recent discussion, and having asked Jaromir his thoughts on
> the subject, we both think it's time to enable this by default, so it gets
> wider testing.  Is there a good reason not to?
>
> Cheers,
> Andrew

The current ubc_direct code still has the problem that I pointed out originally,
which is that it deadlocks if you read() or write() a page of a file into
a mapping of itself.  We should not enable this by default until that problem
is fixed.

i guess it's safe if the vnode is !VV_MAPPED.
 

-Chuck


Home | Main Index | Thread Index | Old Index