Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\userfaultfd.c Create Date:2022-07-28 20:20:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__wake_userfault

Proto:static void __wake_userfault(struct userfaultfd_ctx *ctx, struct userfaultfd_wake_range *range)

Type:void

Parameter:

TypeParameterName
struct userfaultfd_ctx *ctx
struct userfaultfd_wake_range *range
1233  spin_lock_irq( & lock)
1235  If waitqueue_active -- locklessly test for waiters on the queue*@wq_head: the waitqueue to test for waiters* returns true if the wait list is not empty* NOTE: this function is lockless and requires care, incorrect usage _will_ Then __wake_up_locked_key( & waitqueue head for the pending (i.e. not read) userfaults , Convenience macros for the sake of wake_up(): , range)
1238  If waitqueue_active -- locklessly test for waiters on the queue*@wq_head: the waitqueue to test for waiters* returns true if the wait list is not empty* NOTE: this function is lockless and requires care, incorrect usage _will_ Then __wake_up - wake up threads blocked on a waitqueue
1240  spin_unlock_irq( & lock)
Caller
NameDescribe
wake_userfault