tmpfs - Conditionalize atomic adds on mount structure
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 30 Sep 2017 18:06:49 +0000 (11:06 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 30 Sep 2017 18:06:49 +0000 (11:06 -0700)
commiteae96dbbc9d50a028e454de7f11704bd923b693c
tree35ecdb7397e2ee61b7cc3ea520a699ea898212f1
parentb5e8ec1060da54c6fee3ec3d06f0eaf1211e990d
tmpfs - Conditionalize atomic adds on mount structure

* Conditionalize tracking of the total pages allocated to avoid
  the atomic op when the delta change is 0.

Suggested-by: mjg_
sys/vfs/tmpfs/tmpfs_subr.c