diff options
| author | Paulo Alcantara (SUSE) <pc@cjr.nz> | 2019-12-04 23:38:03 +0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2020-01-27 04:24:16 +0300 |
| commit | 742d8de0186e9f8ec469f8171ea25781a17421bf (patch) | |
| tree | edc737c32111de73c7d1b75eb936bd97877a39b0 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | 06d57378bcc9b2c33640945174842115593795d1 (diff) | |
| download | linux-742d8de0186e9f8ec469f8171ea25781a17421bf.tar.xz | |
cifs: Avoid doing network I/O while holding cache lock
When creating or updating a cache entry, we need to get an DFS
referral (get_dfs_referral), so avoid holding any locks during such
network operation.
To prevent that, do the following:
* change cache hashtable sync method from RCU sync to a read/write
lock.
* use GFP_ATOMIC in memory allocations.
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
