On 11/2/26 02:30, Guixiong Wei wrote: > --- > tools/testing/selftests/x86/amx.c | 251 +++++++++++++++++++++++++++++- > 1 file changed, 249 insertions(+), 2 deletions(-) > The code looks an overkill to me. I also considered using kmemleak, but this vmallocinfo looks to be efficient. The other way would be adding a script on top of a small change to amx.c file. See the attachment. Can you please try running this on your side and see if it works? PS: I sent this yesterday but it didn't go through. I switched *.sh to *.txt in the attachment. Thanks, Chang