Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sb_read and umount cache not be freed #53

Merged
merged 2 commits into from
Aug 4, 2024

Commits on Aug 4, 2024

  1. Configuration menu
    Copy the full SHA
    5afbafc View commit details
    Browse the repository at this point in the history
  2. Fix cache leak in umount simplefs

    1. When the cache be destoryed, we should call rcu_barrier() to prevent
    call_rcu() still works and this also prevent the cache be reused.
    
    2. After simplefs_destroy_inode_cache() function, we need rcu_barrier()
    to make sure all memory have be freed.
    RoyWFHuang committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    cc21eee View commit details
    Browse the repository at this point in the history