diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-15 11:08:08 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-15 11:08:10 +0100 |
commit | c1da11e520e6454c7798dc0fbd715d8dce87ee27 (patch) | |
tree | 21bbadf35387f048867ce1562d301204d0efb697 /i386/intel/pmap.h | |
parent | 4fc6cb13da6628fef1ce2e3a45a036cc3804b93e (diff) | |
download | gnumach-c1da11e520e6454c7798dc0fbd715d8dce87ee27.tar.gz gnumach-c1da11e520e6454c7798dc0fbd715d8dce87ee27.tar.bz2 gnumach-c1da11e520e6454c7798dc0fbd715d8dce87ee27.zip |
pmap: Make mapwindow per CPU
They are used temporarily without CPU exchanges, and may need to be used
concurrently so 2 slots only would not be enough anyway. This also saves
having to lock for them.
Diffstat (limited to 'i386/intel/pmap.h')
-rw-r--r-- | i386/intel/pmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/intel/pmap.h b/i386/intel/pmap.h index 68784ac9..4c1b9bd5 100644 --- a/i386/intel/pmap.h +++ b/i386/intel/pmap.h @@ -247,7 +247,7 @@ typedef struct { extern pmap_mapwindow_t *pmap_get_mapwindow(pt_entry_t entry); extern void pmap_put_mapwindow(pmap_mapwindow_t *map); -#define PMAP_NMAPWINDOWS 2 +#define PMAP_NMAPWINDOWS 2 /* Per CPU */ #if NCPUS > 1 /* |