[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5 gnumach] i386: Refactor int stacks to be per cpu for SMP
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 2/5 gnumach] i386: Refactor int stacks to be per cpu for SMP |
Date: |
Wed, 1 Feb 2023 18:53:58 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Hello,
Damien Zammit, le mer. 01 févr. 2023 10:05:47 +0000, a ecrit:
> This is a rather large commit, but difficult to break it up.
Perhaps you can separate out the moving of the i386at_init code
> @@ -448,47 +444,8 @@ i386at_init(void)
> */
> biosmem_setup();
>
> - /*
> - * We'll have to temporarily install a direct mapping
> - * between physical memory and low linear memory,
> - * until we start using our new kernel segment descriptors.
> - */
> -#if INIT_VM_MIN_KERNEL_ADDRESS != LINEAR_MIN_KERNEL_ADDRESS
> - vm_offset_t delta = INIT_VM_MIN_KERNEL_ADDRESS -
> LINEAR_MIN_KERNEL_ADDRESS;
> - if ((vm_offset_t)(-delta) < delta)
> - delta = (vm_offset_t)(-delta);
> - int nb_direct = delta >> PDESHIFT;
> - for (i = 0; i < nb_direct; i++)
> - kernel_page_dir[lin2pdenum_cont(INIT_VM_MIN_KERNEL_ADDRESS) +
> i] =
> -
> kernel_page_dir[lin2pdenum_cont(LINEAR_MIN_KERNEL_ADDRESS) + i];
[etc.]
into functions?
Samuel
- [PATCH 0/5 gnumach] Progress with SMP revisited, Damien Zammit, 2023/02/01
- [PATCH 1/5 gnumach] pmap: Debug printf when pmap_update_interrupt runs, Damien Zammit, 2023/02/01
- [PATCH 4/5 gnumach] kdb: Fix ON_INT_STACK() macro to be cpu_number aware, Damien Zammit, 2023/02/01
- [PATCH 5/5 gnumach] linux: Skip probing IDE when 255 phys heads detected, Damien Zammit, 2023/02/01
- [PATCH 2/5 gnumach] i386: Refactor int stacks to be per cpu for SMP, Damien Zammit, 2023/02/01
- Re: [PATCH 2/5 gnumach] i386: Refactor int stacks to be per cpu for SMP, Almudena Garcia, 2023/02/01
- Re: [PATCH 2/5 gnumach] i386: Refactor int stacks to be per cpu for SMP,
Samuel Thibault <=
- Re: [PATCH 2/5 gnumach] i386: Refactor int stacks to be per cpu for SMP, Almudena Garcia, 2023/02/02
- Re: [PATCH 2/5 gnumach] i386: Refactor int stacks to be per cpu for SMP, Damien Zammit, 2023/02/03
- Re: [PATCH 2/5 gnumach] i386: Refactor int stacks to be per cpu for SMP, Almudena Garcia, 2023/02/03
- Re: [PATCH 2/5 gnumach] i386: Refactor int stacks to be per cpu for SMP, Damien Zammit, 2023/02/03
- Re: [PATCH 2/5 gnumach] i386: Refactor int stacks to be per cpu for SMP, Samuel Thibault, 2023/02/04
[PATCH 3/5 gnumach] linux: No need to init PIT timer twice, Damien Zammit, 2023/02/01
Re: [PATCH 0/5 gnumach] Progress with SMP revisited, Almudena Garcia, 2023/02/01