diff options
author | Hannes Reinecke <hare@suse.de> | 2014-11-05 16:35:50 +0300 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-02-16 18:10:58 +0300 |
commit | dac05cc7cc144635946cdc6ed38a6734424c2683 (patch) | |
tree | 7e3f87abc60bdfb6ae8d0c8a6dffb37e05ea9684 /security | |
parent | 677984600a8de443ca9596998e96d70dfc8f5525 (diff) | |
download | linux-dac05cc7cc144635946cdc6ed38a6734424c2683.tar.xz |
dm: do not call dm_sync_table() when creating new devices
commit 41abc4e1af369bb5438eaee398e3beee690cc8ca upstream.
When creating new devices dm_sync_table() calls
synchronize_rcu_expedited(), causing _all_ pending RCU pointers to be
flushed. This causes a latency overhead that is especially noticeable
when creating lots of devices.
And all of this is pointless as there are no old maps to be
disconnected, and hence no stale pointers which would need to be
cleared up.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions