Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\io_apic.c Create Date:2022-07-28 08:30:10
Last Modify:2020-03-16 21:24:45 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:delay_with_tsc

Proto:static void __init delay_with_tsc(void)

Type:void

Parameter:Nothing

1589  end = jiffies + 4
1591  start = dtsc() - returns the current TSC without ordering constraints* rdtsc() returns the result of RDTSC as a 64-bit integer
1599  Do
1600  REP NOP (PAUSE) is a good thing to insert into busy-wait loops.
1601  now = dtsc() - returns the current TSC without ordering constraints* rdtsc() returns the result of RDTSC as a 64-bit integer
1602  When now - start < 40000000000ULL / HZ && time_before_eq(jiffies, end) cycle
Caller
NameDescribe
timer_irq_worksThere is a nasty bug in some older SMP boards, their mptable lies* about the timer IRQ