Damien Zammit, le mer. 07 janv. 2026 03:08:16 +0000, a ecrit:
> This reverts commit fdfca0e86009c5a7b188fa39e939de800a73391d.
> Without this reverted, smp boot hangs.

But we want to keep it so rumpdisk doesn't get paged out :)

> diff --git a/kern/ipc_kobject.h b/kern/ipc_kobject.h
> index 63ad87c5..606a66a9 100644
> --- a/kern/ipc_kobject.h
> +++ b/kern/ipc_kobject.h
> @@ -77,10 +77,9 @@ typedef unsigned int ipc_kobject_type_t;
>  #define IKOT_CLOCK           25
>  #define IKOT_CLOCK_CTRL              26
>  #define      IKOT_PAGER_PROXY        27
> -#define      IKOT_USER_DEVICE        28
>                                       /* << new entries here  */
> -#define      IKOT_UNKNOWN            29      /* magic catchall       */
> -#define      IKOT_MAX_TYPE           30      /* # of IKOT_ types     */
> +#define      IKOT_UNKNOWN            28      /* magic catchall       */
> +#define      IKOT_MAX_TYPE           29      /* # of IKOT_ types     */
>   /* Please keep ipc/ipc_object.c:ikot_print_array up to date */
>  
>  #define is_ipc_kobject(ikot) (ikot != IKOT_NONE)
> @@ -91,9 +90,7 @@ typedef unsigned int ipc_kobject_type_t;
>   */
>  
>  #define ipc_kobject_vm_page_list(ikot)                       \
> -  ((ikot == IKOT_PAGING_REQUEST) || \
> -   (ikot == IKOT_DEVICE) || \
> -   (ikot == IKOT_USER_DEVICE))
> +     ((ikot == IKOT_PAGING_REQUEST) || (ikot == IKOT_DEVICE))
>  
>  #define ipc_kobject_vm_page_steal(ikot)      (ikot == IKOT_PAGING_REQUEST)

It would be useful to try to revert just the ipc_kobject_vm_page_list
macro change, to check whether the issue comes from the mere change of
port type, or if it comes from the use_page_lists change (possibly it's
simply vm_map_copyin_page_list which is bogus)

Samuel

Reply via email to