Re: [External] Re: [akpm-mm:mm-unstable 262/270] vmscan.c:(.text+0x2c90): multiple definition of `mt_find_alloc_memory_type'; kernel/sched/fair.o:fair.c:(.text+0x1db4): first defined here

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrew and SeongJae,

These compilation errors can be solved by adding `static inline` to
the two complaining functions, the same solution as SeongJae mentioned
earlier.

I've tested on my end as listed below and I will send out a V10 soon
after I check a few more things:
```
$ ./tools/testing/kunit/kunit.py run --build_dir ../kunit.out/
[22:53:24] Configuring KUnit Kernel ...
[22:53:24] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=../kunit.out/ olddefconfig
Building with:
$ make ARCH=um O=../kunit.out/ --jobs=8
[22:53:30] Starting KUnit Kernel (1/1)...
[...snip...]
[22:53:37] [FAILED] alloc_size_kmalloc_const_test
[...snip...]
[22:53:37] [FAILED] alloc_size_vmalloc_const_test
[...snip...]
[22:53:37] [FAILED] alloc_size_kvmalloc_const_test
[...snip...]
[22:53:37] [FAILED] alloc_size_devm_kmalloc_const_test
[...snip...]
[22:53:37] Testing complete. Ran 306 tests: passed: 260, failed: 4, skipped: 42
[22:53:37] Failures: fortify.alloc_size_kmalloc_const_test,
fortify.alloc_size_vmalloc_const_test,
fortify.alloc_size_kvmalloc_const_test,
fortify.alloc_size_devm_kmalloc_const_test
[22:53:37] Elapsed time: 13.331s total, 0.003s configuring, 5.837s
building, 7.482s running
```

Btw, I noticed there are 4 failed. Please feel free to let me know if
any caused by my code.

Thanks,

On Mon, Apr 1, 2024 at 11:23 AM Ho-Ren (Jack) Chuang
<horenchuang@xxxxxxxxxxxxx> wrote:
>
> Hi Andrew,
>
> Thank you. I'm trying to figure out the problem. Will send a V10 to fix this.
>
> On Mon, Apr 1, 2024 at 11:20 AM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > OK, thanks.  I'll drop
> >
> >         Patch series "Improved Memory Tier Creation for CPUless NUMA Nodes", v9.
> >
> > and shall await a v10.
> >
>
>
> --
> Best regards,
> Ho-Ren (Jack) Chuang
> 莊賀任



-- 
Best regards,
Ho-Ren (Jack) Chuang
莊賀任





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux