Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-28 15:33:39
Last Modify:2020-03-17 22:28:11 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Free a backing policy store on inode delete.

Proto:void mpol_free_shared_policy(struct shared_policy *p)

Type:void

Parameter:

TypeParameterName
struct shared_policy *p
2668  If Not rb_node Then Return
2670  write_lock( & lock)
2671  next = This function returns the first node (in sort order) of the tree.
2672  When next cycle
2673  n = rb_entry(next, structsp_node, nd)
2674  next = rb_next( & nd)
2675  sp_delete(p, n)
2677  write_unlock( & lock)