serenity icon indicating copy to clipboard operation
serenity copied to clipboard

Kernel/Memory: Split big VMObject spinlock to SpinlockProtected members

Open supercomputer7 opened this issue 3 years ago • 15 comments

Relies on #15338.

supercomputer7 avatar Sep 24 '22 12:09 supercomputer7

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Nov 15 '22 02:11 stale[bot]

This is not stale.

supercomputer7 avatar Nov 15 '22 18:11 supercomputer7

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Dec 08 '22 04:12 stale[bot]

This is not stale.

supercomputer7 avatar Dec 11 '22 18:12 supercomputer7

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Jan 01 '23 23:01 stale[bot]

This is not stale.

supercomputer7 avatar Jan 02 '23 18:01 supercomputer7

Hello!

One or more of the commit messages in this PR do not match the SerenityOS code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why. Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.

BuggieBot avatar Jan 03 '23 20:01 BuggieBot

Relies on #16802.

supercomputer7 avatar Jan 03 '23 20:01 supercomputer7

These changes don't look right. We can't guard address space mutation with a mutex, as mutexes can only be taken in contexts where we're able to block the current thread.

The main locking problem in our VM system right now is the fact that page fault handlers don't lock the address space they're operating on. AFAICT, this PR doesn't do anything to address that, and in fact only makes it harder by introducing a mutex that can't be taken in the page fault handler.

So I suppose the first two commits are OK. Could we keep the "Kernel/Memory: Differentiate between when mutating address space or not" commit too (in a separate PR)?

supercomputer7 avatar Jan 26 '23 21:01 supercomputer7

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Feb 17 '23 02:02 stale[bot]

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Mar 16 '23 03:03 stale[bot]

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Apr 10 '23 16:04 stale[bot]

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

stale[bot] avatar May 03 '23 14:05 stale[bot]

This is not stale.

supercomputer7 avatar May 05 '23 05:05 supercomputer7

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Jun 15 '23 20:06 stale[bot]

This pull request has been closed because it has not had recent activity. Feel free to re-open if you wish to still contribute these changes. Thank you for your contributions!

stale[bot] avatar Jun 22 '23 22:06 stale[bot]