summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-05-27 17:04:45 +0100
committerAndrew Morton <akpm@linux-foundation.org>2025-05-31 22:46:15 -0700
commit109364fce504dae70b13eccc51a7bfc71528d154 (patch)
tree21d223cecbb0e3aa4886a4a87358de279d2d4281 /tools/lib/python/kdoc
parent79509ec1d253c536d223cbc06a5b51c13841fec2 (diff)
selftests/mm: use standard ksft_finished() in cow and gup_longterm
Patch series "selftests/mm: cow and gup_longterm cleanups", v2. The bulk of these changes modify the cow and gup_longterm tests to report unique and stable names for each test, bringing them into line with the expectations of tooling that works with kselftest. The string reported as a test result is used by tooling to both deduplicate tests and track tests between test runs, using the same string for multiple tests or changing the string depending on test result causes problems for user interfaces and automation such as bisection. It was suggested that converting to use kselftest_harness.h would be a good way of addressing this, however that really wants the set of tests to run to be known at compile time but both test programs dynamically enumarate the set of huge page sizes the system supports and test each. Refactoring to handle this would be even more invasive than these changes which are large but straightforward and repetitive. A version of the main gup_longterm cleanup was previously sent separately, this version factors out the helpers for logging the start of the test since the cow test looks very similar. This patch (of 4): The cow and gup_longterm test programs open code something that looks a lot like the standard ksft_finished() helper to summarise the test results and provide an exit code, convert to use ksft_finished(). Link: https://lkml.kernel.org/r/20250527-selftests-mm-cow-dedupe-v2-0-ff198df8e38e@kernel.org Link: https://lkml.kernel.org/r/20250527-selftests-mm-cow-dedupe-v2-1-ff198df8e38e@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org> Acked-by: David Hildenbrand <david@redhat.com> Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
span title='2017-03-23 08:54:40 +0100'>2017-03-23locking/atomic: Introduce atomic_try_cmpxchg()Peter Zijlstra 2016-07-07locking/atomic: Introduce inc/dec variants for the atomic_fetch_$op() APIDavidlohr Bueso 2016-06-16locking/atomic: Remove the deprecated atomic_{set,clear}_mask() functionsPeter Zijlstra 2016-06-16locking/atomic: Remove linux/atomic.h:atomic_fetch_or()Peter Zijlstra 2016-06-16locking/atomic: Implement atomic{,64,_long}_fetch_{add,sub,and,andnot,or,xor}...Peter Zijlstra 2016-06-16locking/atomic: Fix atomic64_relaxed() bitsPeter Zijlstra 2016-05-05locking/atomics: Flip atomic_fetch_or() argumentsPeter Zijlstra 2016-03-29locking/atomic, sched: Unexport fetch_or()Frederic Weisbecker 2016-03-29locking/atomic: Introduce atomic_fetch_or()Frederic Weisbecker 2016-03-19Merge tag 'powerpc-4.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds 2016-02-18atomics: Allow architectures to define their own __atomic_op_* helpersBoqun Feng 2016-02-13atomic: Export fetch_or()Frederic Weisbecker 2015-11-03atomic: remove all traces of READ_ONCE_CTRL() and atomic*_read_ctrl()Linus Torvalds 2015-10-06locking/asm-generic: Add _{relaxed|acquire|release}() variants for inc/dec at...Davidlohr Bueso 2015-09-23atomic: Implement atomic_read_ctrl()Peter Zijlstra 2015-09-23atomic: Add atomic_long_t bitopsPeter Zijlstra 2015-08-12locking/atomics: Add _{acquire|release|relaxed}() variants of some atomic ope...Will Deacon 2015-07-27atomic: Collapse all atomic_{set,clear}_mask definitionsPeter Zijlstra 2015-07-27atomic: Provide atomic_{or,xor,and}Peter Zijlstra 2014-08-13locking: Remove deprecated smp_mb__() barriersPeter Zijlstra 2014-04-18arch: Prepare for smp_mb__{before,after}_atomic()Peter Zijlstra 2012-10-09atomic: implement generic atomic_dec_if_positive()Shaohua Li 2012-03-07atomic: Allow atomic_inc_not_zero to be overriddenAnton Blanchard 2011-07-26atomic: Update comments in atomic.hArun Sharma 2011-07-26atomic: cleanup asm-generic atomic*.h inclusionArun Sharma 2011-07-26atomic: move atomic_add_unless to generic codeArun Sharma 2011-07-26atomic: use <linux/atomic.h>Arun Sharma 2011-07-20lockless get_write_access/deny_write_accessAl Viro 2011-05-28atomic: Add atomic_or()Paul E. McKenney 2010-11-12atomic: add atomic_inc_not_zero_hint()Eric Dumazet