Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmpressure.c Create Date:2022-07-28 16:15:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vmpressure_unregister_event() - Unbind eventfd from vmpressure*@memcg: memcg handle*@eventfd: eventfd context that was used to link vmpressure with the @cg* This function does internal manipulations to detach the @eventfd from* the vmpressure

Proto:void vmpressure_unregister_event(struct mem_cgroup *memcg, struct eventfd_ctx *eventfd)

Type:void

Parameter:

TypeParameterName
struct mem_cgroup *memcg
struct eventfd_ctx *eventfd
428  vmpr = Some nice accessors for the vmpressure.
431  mutex_lock( & Have to grab the lock on events traversal or modifications. )
433  If efd != eventfd Then Continue
435  deletes entry from list
436  kfree(ev)
437  Break
439  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.