In the kernel code, I cannot find the definition of the native_queued_spin_lock_slowpath function, __pv_queued_spin_lock_slowpath is the same, where are these functions defined? I searched all the kernel code, but in vain
kernel code native_queued_spin_lock_slowpath function
1.3k Views Asked by Benjamin Wilson At
1
There are 1 best solutions below
Related Questions in LINUX-KERNEL
- kernel module does not print packet info
- android linux kernel communicate with user space about NETLINK_USER
- How to offload NAPI poll function to workqueue
- Why Device Tree Structure (DTS) file is needed both in bootloader and kernel source code?
- Bootloader in Assembly with Linux kernel
- pktgen not sending packets more than 1kb big
- Use static analysis tools to check null pointers and memory leaks in Linux device drivers
- How to build Linux kernel to support SO_ATTACH_BPF socket option?
- How do I know the last sched time of a process
- linux kernel compile error....udevd[63]: error getting socket
- Process in background mode trying to read from stdin
- board firmware update through uefi capsule feature from Linux
- spin_lock before writing status register
- Kernel module configuration locked built in?
- Install Subversion 1.7 on Debian jessie
Related Questions in KVM
- Reading contents of a qcow2 image using `bdrv_pread(..)` or alternatives
- Network Block Device - Receive control failed (result -32) - Kernel 3.16.0-41
- How to automate application installation in virtual machine?
- KVM and Libvirt: Bad CPU/Network performance of guest
- how to trace guest OS when qemu is run with kvm enabled and cpu is host?
- Nvidia GPU passthrough fail with code 43
- ubuntu guest on RHEL kvm *(x86_64) is failing
- libvirt-php receives the error: internal error Unable to locate libvirtd daemon in /usr/sbin
- Linux gitian-builder and "dpkg: error processing package sudo"
- Exception when run Aspnet Mvc app on OS X
- libvirt-php receives the error: unable to connect to server Permission denied
- Running qemu on ARM with KVM acceleration
- How to configure a new host and virtual machine on opennebula?
- how virtio front-end drivers to share vring (or virtqueue) with qemu?
- How to package vm for KVM/QEMU?
Related Questions in SPINLOCK
- spin_lock before writing status register
- Random addresses getting printed undefinitely while booting kernel on armv7
- Adding attribute to buffer description in PostgreSQL source, now has spinlock error?
- Interrupt and spinlock
- why spin_lock_irqsave needs to disable preemption on multiprocessor
- Is the context below atomic in linux kernel?
- Is it ok to take spinlock_irqsave in process context?
- Linux; How to debug spin_lock source
- When is a good idea to use a spinlock?
- Disabling all interrupts to protect CPU register state on multi processor systems
- kernel 4.4.192 spinlock already unlocked
- mov vs xchg in spin lock implementatoin
- Why are the implementations of the spin lock different between Windows XP and Windows 7?
- How can Microsoft's OpenMP spinlock time be controlled?
- Why disabling interrupts disables kernel preemption and how spin lock disables preemption
Related Questions in PARAVIRTUALIZATION
- Hardware assisted virtualization on centos and 32_bit system
- Can a hypervisor with paravirtualized guests benefit from virtualization extensions?
- Vagrant - paravirtualization "kvm" on VirtualBox version below 5.0
- Is there a traditional virtualization other than docker that uses the underlying disk storage without pre-setting a limit?
- How to find if my OS is running on a virtualized or non-virtualized environment?
- Benchmarking Disk Performance (Windows and Linux on Xen)
- kernel code native_queued_spin_lock_slowpath function
- Difference between Sensitive Instructions and Privileged Instructions
- XEN ParaVirt guest boot parameters
- Sharing a COM port on LDOMs
- Full Virtualization vs. Paravirtualization
- How do I migrate Proxmox 3.x openVZ containers to Proxmox 4.x LXC?
- Xen PV VM uses max 1 Thread
- Is xen dom0 a guest or a host?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The definition of
native_queued_spin_lock_slowpathis in "kernel/locking/qspinlock.c", using a macro to change the name ofqueued_spin_lock_slowpathtonative_queued_spin_lock_slowpathwhenCONFIG_PARAVIRT_SPINLOCKSis defined:…
The definition of
__pv_queued_spin_lock_slowpathis also in "kernel/locking/qspinlock.c" using the same renaming macro trick with a twist — The "qspinlock.c" file includes itself once more, using a guard macro_GEN_PV_LOCK_SLOWPATHto avoid infinite recursive inclusion:…
…