cregit-Linux how code gets into the kernel

Release 4.14 arch/x86/kernel/irq_work.c

Directory: arch/x86/kernel
// SPDX-License-Identifier: GPL-2.0
/*
 * x86 specific code for irq_work
 *
 * Copyright (C) 2010 Red Hat, Inc., Peter Zijlstra
 */

#include <linux/kernel.h>
#include <linux/irq_work.h>
#include <linux/hardirq.h>
#include <asm/apic.h>
#include <asm/trace/irq_vectors.h>
#include <linux/interrupt.h>

#ifdef CONFIG_X86_LOCAL_APIC

__visible void __irq_entry smp_irq_work_interrupt(struct pt_regs *regs) { ipi_entering_ack_irq(); trace_irq_work_entry(IRQ_WORK_VECTOR); inc_irq_stat(apic_irq_work_irqs); irq_work_run(); trace_irq_work_exit(IRQ_WORK_VECTOR); exiting_irq(); }

Contributors

PersonTokensPropCommitsCommitProp
Seiji Aguchi2775.00%233.33%
Thomas Gleixner719.44%233.33%
Andi Kleen12.78%116.67%
Daniel Bristot de Oliveira12.78%116.67%
Total36100.00%6100.00%


void arch_irq_work_raise(void) { if (!arch_irq_work_has_interrupt()) return; apic->send_IPI_self(IRQ_WORK_VECTOR); apic_wait_icr_idle(); }

Contributors

PersonTokensPropCommitsCommitProp
Peter Zijlstra2291.67%150.00%
Frédéric Weisbecker28.33%150.00%
Total24100.00%2100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Peter Zijlstra3541.18%218.18%
Seiji Aguchi3035.29%218.18%
Thomas Gleixner1214.12%327.27%
Daniel Bristot de Oliveira44.71%19.09%
Frédéric Weisbecker22.35%19.09%
Greg Kroah-Hartman11.18%19.09%
Andi Kleen11.18%19.09%
Total85100.00%11100.00%
Directory: arch/x86/kernel
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.