bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/4 gnumach] separate lapic_enable from lapic_setup


From: Samuel Thibault
Subject: Re: [PATCH v2 1/4 gnumach] separate lapic_enable from lapic_setup
Date: Tue, 6 Feb 2024 21:47:15 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Damien Zammit, le mar. 06 févr. 2024 03:06:17 +0000, a ecrit:
>       splhigh();
>  
> +     /* Disable IOAPIC interrupts (IPIs not affected).
> +      * Clearing this flag is similar to masking all
> +      * IOAPIC interrupts individually */

This is not saying _why_ we do this.  Why IOAPIC would be a problem
while booting the APs.

Remember that most of the comments of people reading code is "why on
earth are they doing that?!".

> +     lapic_disable();
> +
>       bspdone = 0;
>       for (cpu = 1; cpu < ncpus; cpu++) {
>               machine_slot[cpu].running = FALSE;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]