summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYouling Tang <tangyouling@kylinos.cn>2024-04-26 15:29:56 +0800
committerKent Overstreet <kent.overstreet@linux.dev>2024-05-08 17:29:21 -0400
commit36aa49d33e8d59246bd338064d6a516f693954e5 (patch)
tree626b1c511d896a91f5aaacfcd53c80c49c8515cb /tools/perf/scripts/python/export-to-postgresql.py
parentc8bda9f20a01cef7e12fd230ada83d53f7cdc884 (diff)
bcachefs: Change destroy_inode to free_inode
The vfs[1] documentation describes free_inode as follows: ``` free_inode this method is called from RCU callback. If you use call_rcu() in ->destroy_inode to free ‘struct inode’ memory, then it’s better to release memory in this method. ``` free_inode will be called by the RCU callback, so it might be better to move the inode free operation to destroy_inode. Similar to commit ae6b47b5653e ("fs/ntfs3: Change destroy_inode to free_inode"). Link: [1]: https://www.kernel.org/doc/html/latest/filesystems/vfs.html Signed-off-by: Youling Tang <tangyouling@kylinos.cn> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions