cregit-Linux how code gets into the kernel

Release 4.11 arch/x86/kernel/irq_work.c

Directory: arch/x86/kernel
/*
 * 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>


static inline void __smp_irq_work_interrupt(void) { inc_irq_stat(apic_irq_work_irqs); irq_work_run(); }

Contributors

PersonTokensPropCommitsCommitProp
Seiji Aguchi952.94%150.00%
Peter Zijlstra847.06%150.00%
Total17100.00%2100.00%


__visible void __irq_entry smp_irq_work_interrupt(struct pt_regs *regs) { ipi_entering_ack_irq(); __smp_irq_work_interrupt(); exiting_irq(); }

Contributors

PersonTokensPropCommitsCommitProp
Seiji Aguchi1571.43%120.00%
Peter Zijlstra314.29%120.00%
Daniel Bristot de Oliveira14.76%120.00%
Andi Kleen14.76%120.00%
Thomas Gleixner14.76%120.00%
Total21100.00%5100.00%


__visible void __irq_entry smp_trace_irq_work_interrupt(struct pt_regs *regs) { ipi_entering_ack_irq(); trace_irq_work_entry(IRQ_WORK_VECTOR); __smp_irq_work_interrupt(); trace_irq_work_exit(IRQ_WORK_VECTOR); exiting_irq(); }

Contributors

PersonTokensPropCommitsCommitProp
Seiji Aguchi2890.32%125.00%
Daniel Bristot de Oliveira13.23%125.00%
Andi Kleen13.23%125.00%
Thomas Gleixner13.23%125.00%
Total31100.00%4100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Peter Zijlstra2793.10%150.00%
Frédéric Weisbecker26.90%150.00%
Total29100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Seiji Aguchi5547.01%225.00%
Peter Zijlstra5143.59%225.00%
Daniel Bristot de Oliveira54.27%112.50%
Frédéric Weisbecker21.71%112.50%
Andi Kleen21.71%112.50%
Thomas Gleixner21.71%112.50%
Total117100.00%8100.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.