tech-kern archive

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

Re: [PATCH] Re: zero-filed page on VOP_PUTPAGES


> YAMAMOTO Takashi <> wrote:
>> uvm_vnp_setsize merely changes the kernel's idea of the size of the file.
> It also triggers a file truncate if it discovers that the size set is
> smaller than previous kernel idea.

but dropping page cache isn't a problem as far as it's consistent with
the kernel's own idea of the file size.
otoh, as you discovered, the call in getattr is problematic because
it confuses the kernel.


> -- 
> Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index