Re: [v3 1/3] mm/damon/sysfs: fix param_ctx leak on damon_sysfs_new_test_ctx() failure
From: Josh Law
Date: Tue Mar 24 2026 - 11:38:17 EST
On 24 March 2026 14:15:37 GMT, SeongJae Park <sj@xxxxxxxxxx> wrote:
>On Tue, 24 Mar 2026 07:06:25 +0000 Josh Law <objecting@xxxxxxxxxxxxx> wrote:
>
>>
>>
>> On 24 March 2026 00:14:59 GMT, SeongJae Park <sj@xxxxxxxxxx> wrote:
>> >On Mon, 23 Mar 2026 16:48:19 +0000 Josh Law <objecting@xxxxxxxxxxxxx> wrote:
>> >[...]
>> >> Also, unconnected to our topic!
>> >>
>> >>
>> >> I've tried to backport Damon to 4.19 (for a personal android thing, and failed! Of course)
>> >>
>> >> Can I have a bit of help if that's fine with you? The tree is based on GitHub a bit
>> >
>> >Sure, I will be happy to help as much as I can without burning myself ;)
>> >
>> >Seems [1] Alma Linux has backported DAMON on their 4.18 kernel. Maybe you can
>> >try their port first?
>> >
>> >Also, what is the oldest kernel that you have to use? As newer it is, the
>> >backporting will be easier. When I was in AWS, I backported DAMON of v6.7 on
>> >the v5.10 based Amazon Linux kernel, and the source is available on GitHub. So
>> >if you can use 5.10 based kernel, using that could also be a good option.
>> >
>> >[1] https://oracle.github.io/kconfigs/?config=UTS_RELEASE&config=DAMON
>> >
>> >
>> >Thanks,
>> >SJ
>> >
>> >[...]
>>
>>
>>
>> well android likes using old kernels for some reasons, especially LTS, so 4.19..
>
>Well, but the long term support of 4.19 has dead a few years ago. The oldest
>LTS kernel of today is 5.10 [1]. I understand some vendors might still use
>4.19 kernel, though. Anyway, let me know if there is anything that I can help.
>I will try to help.
>
>[1] https://www.kernel.org/category/releases.html
>
>
>Thanks,
>SJ
>
>[...]
The device itself is unsupported (Galaxy S20 FE)
I've been working on a kernel for this device for quite a long time
V/R
Josh Law