Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lc_committed - tell @lc that pending changes have been recorded*@lc: the lru cache to operate on* User is expected to serialize on explicit lc_try_lock_for_transaction()* before the transaction is started, and later needs to lc_unlock() explicitly

Proto:void lc_committed(struct lru_cache *lc)

Type:void

Parameter:

TypeParameterName
struct lru_cache *lc
538  his is developers aid only.* it catches concurrent access (lack of locking on the users part) ()
541  ++changed
542  we want to track a larger set of objects,* it needs to become arch independend u64 = r pending changes
543  list_move - delete from one list and add as another's head*@list: the entry to move*@head: the head that will precede our entry
545  number of elements currently on to_be_changed list = 0
546  RETURN()