mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
Fix some paging related bugs exposed by the spawn stress test.
- Process::exec() needs to restore the original paging scope when called on a non-current process. - Add missing InterruptDisabler guards around g_processes access. - Only flush the TLB when modifying the active page tables.
This commit is contained in:
parent
7b96218389
commit
e71cb1c56b
13 changed files with 110 additions and 67 deletions
|
@ -1,13 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Compiler.h>
|
||||
#include <AK/Types.h>
|
||||
|
||||
#define PACKED __attribute__ ((packed))
|
||||
#define NORETURN __attribute__ ((noreturn))
|
||||
#define ALWAYS_INLINE __attribute__ ((always_inline))
|
||||
#define PURE __attribute__ ((pure))
|
||||
#define PUBLIC
|
||||
#define PRIVATE static
|
||||
|
||||
typedef unsigned char BYTE;
|
||||
typedef unsigned short WORD;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue