Re: [PATCH gnumach] pmap: Fix out of bounds mapwindow when using full NCPUS

2023-08-06 Thread Samuel Thibault
Damien Zammit, le sam. 05 août 2023 15:49:36 +, a ecrit: > There are only two slots per cpu. Use only one of two per cpu. Well, yes, that's what the code was already doing. > --- > i386/intel/pmap.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

[PATCH gnumach] pmap: Fix out of bounds mapwindow when using full NCPUS

2023-08-05 Thread Damien Zammit
There are only two slots per cpu. Use only one of two per cpu. --- i386/intel/pmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index 0bb1a490..9bcbc279 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -1020,10 +1020,10