]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r324127:
authormjg <mjg@FreeBSD.org>
Sun, 31 Dec 2017 03:15:45 +0000 (03:15 +0000)
committermjg <mjg@FreeBSD.org>
Sun, 31 Dec 2017 03:15:45 +0000 (03:15 +0000)
commit365d37952cdc329ebd1ff94205b934e29af6c472
tree287e56cff25ef516ecda7b7f29d048d19056c9f4
parentdc9eed165c25d9af290b93f577ad7ac9d7b3788c
MFC r324127:

    tmpfs: skip zero-sized page count updates

    Such updates consisted of vast majority of modificiations, especially
    in tmpfs_reg_resize.

    For the case where page count did no change and the size grew we only
    need to update tn_size. Use this fact to avoid vm object lock/relock.
sys/fs/tmpfs/tmpfs_subr.c