public inbox for astral-devel@lists.astral-os.org
 help / color / mirror / Atom feed
From: Matheus <matheus@astral-os.org>
To: astral-devel@lists.astral-os.org
Cc: Matheus <matheusuky@gmail.com>
Subject: [PATCH 3/4] mmu: move tlb shootdown to IPL_MAX
Date: Tue,  6 Oct 2026 11:46:34 -0300	[thread overview]
Message-ID: <20261006144635.141071-4-matheus@astral-os.org> (raw)
In-Reply-To: <20261006144635.141071-1-matheus@astral-os.org>

From: Matheus <matheusuky@gmail.com>

Currently, with IPL_IGNORE, tlb shootdown is not being treated as an
irq and thus does not contribute to the irq depth. Move it to the
highest possible IPL.
---
 kernel-src/arch/x86-64/mmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel-src/arch/x86-64/mmu.c b/kernel-src/arch/x86-64/mmu.c
index 777949fe..78400efb 100644
--- a/kernel-src/arch/x86-64/mmu.c
+++ b/kernel-src/arch/x86-64/mmu.c
@@ -442,5 +442,5 @@ void arch_mmu_apswitch() {
 	interrupt_register(12, gpfisr, NULL, IPL_IGNORE);
 	interrupt_register(13, gpfisr, NULL, IPL_IGNORE);
 	interrupt_register(14, pfisr, NULL, IPL_IGNORE);
-	interrupt_register(0xfe, arch_mmu_tlbipi, ARCH_EOI, IPL_IGNORE);
+	interrupt_register(0xfe, arch_mmu_tlbipi, ARCH_EOI, IPL_MAX);
 }
-- 
2.43.0


  parent reply	other threads:[~2026-10-06 14:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-06 14:46 [PATCH 0/4] kcov: initial implementation Matheus
2026-10-06 14:46 ` [PATCH 1/4] mm: properly fork shared file mappings Matheus
2026-10-06 14:46 ` [PATCH 2/4] cpu: add irq depth counting Matheus
2026-10-06 14:46 ` Matheus [this message]
2026-10-06 14:46 ` [PATCH 4/4] kcov: initial implementation Matheus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261006144635.141071-4-matheus@astral-os.org \
    --to=matheus@astral-os.org \
    --cc=astral-devel@lists.astral-os.org \
    --cc=matheusuky@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox