Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Test the behavior of SLAB_TYPESAFE_BY_RCU caches of different sizes.

Proto:static int __init test_rcu_persistent(int *total_failures)

Type:int

Parameter:

TypeParameterName
int *total_failures
375  failures = 0 , num_tests = 0
378  When i < 10 cycle
379  size = 8 << i
380  num_tests += Check that the data written to an RCU-allocated object survives* reallocation.
382  REPORT_FAILURES_IN_FN()
383  total_failures += failures
384  Return num_tests
Caller
NameDescribe
test_meminit_initRun the tests. Each test function returns the number of executed tests and* updates |failures| with the number of failed tests.