Re: [PATCH v7 18/43] instrumented.h: add KMSAN support

From: youling 257
Date: Wed Oct 19 2022 - 15:29:11 EST


arch x86, this's my revert,
https://github.com/youling257/android-mainline/commit/401cbfa61cbfc20c87a5be8e2dda68ac5702389f
i tried different revert, have to remove kmsan_copy_to_user.

2022-10-20 1:58 GMT+08:00, Marco Elver <elver@xxxxxxxxxx>:
> On Wed, 19 Oct 2022 at 10:37, youling 257 <youling257@xxxxxxxxx> wrote:
>>
>>
>>
>> ---------- Forwarded message ---------
>> 发件人: youling257 <youling257@xxxxxxxxx>
>> Date: 2022年10月20日周四 上午1:36
>> Subject: Re: [PATCH v7 18/43] instrumented.h: add KMSAN support
>> To: <glider@xxxxxxxxxx>
>> Cc: <youling257@xxxxxxxxx>
>>
>>
>> i using linux kernel 6.1rc1 on android, i use gcc12 build kernel 6.1 for
>> android, CONFIG_KMSAN is not set.
>> "instrumented.h: add KMSAN support" cause android bluetooth high CPU
>> usage.
>> git bisect linux kernel 6.1rc1, "instrumented.h: add KMSAN support" is a
>> bad commit for my android.
>>
>> this is my kernel 6.1, revert include/linux/instrumented.h fix high cpu
>> usage problem.
>> https://github.com/youling257/android-mainline/commits/6.1
>
> What arch?
> If x86, can you try to revert only the change to
> instrument_get_user()? (I wonder if the u64 conversion is causing
> issues.)
>