mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
Kernel: Stop verifying interrupts are disabled in Process::for_each
This is a left-over from back when we didn't have any locking on the global Process list, nor did we have SMP support, so this acted as some kind of locking mechanism. We now have proper locks around the Process list, so this is no longer relevant.
This commit is contained in:
parent
eca85f2050
commit
4ce326205e
1 changed files with 0 additions and 1 deletions
|
@ -915,7 +915,6 @@ extern RecursiveSpinlock g_profiling_lock;
|
|||
template<IteratorFunction<Process&> Callback>
|
||||
inline void Process::for_each(Callback callback)
|
||||
{
|
||||
VERIFY_INTERRUPTS_DISABLED();
|
||||
Process::all_instances().with([&](auto const& list) {
|
||||
for (auto it = list.begin(); it != list.end();) {
|
||||
auto& process = *it;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue