forked from tytso/ext4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fsnotify: preallocate connector outside of group lock
We intend to allow memory shrinkers to evict inodes with evictable inode marks. To avoid getting into direct reclaim with group lock held, preallocate the object connector before adding a mark and free it if object already has an attached connector. Signed-off-by: Amir Goldstein <amir73il@gmail.com>
- Loading branch information
Showing
2 changed files
with
43 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters