Re: [PATCH v15 5/9] mm: rust: add mmput_async support

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

 



On Sun, Mar 09, 2025 at 07:37:54PM +0800, kernel test robot wrote:
> >> error[E0425]: cannot find function `mmput_async` in crate `bindings`
>    --> rust/kernel/mm.rs:143:28
>        |
>    143 |         unsafe { bindings::mmput_async(obj.cast().as_ptr()) };
>        |                            ^^^^^^^^^^^ not found in `bindings`

It looks like the mmput_async function doesn't exist at all when
CONFIG_MMU is disabled?

I guess I can just make the MmWithUserAsync type not exist at all when
CONFIG_MMU is disabled to mirror that, but it seems a bit weird.

Alice




[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