Displaying 1 result from an estimated 1 matches for "adjust_pag".
Did you mean:
adjust_pge
2021 Nov 17
0
[RFC PATCH] virtio_balloon: add param to skip adjusting pages
...lloon.c b/drivers/virtio/virtio_balloon.c
> index c22ff0117b46..17dac286899c 100644
> --- a/drivers/virtio/virtio_balloon.c
> +++ b/drivers/virtio/virtio_balloon.c
> @@ -133,6 +133,21 @@ static const struct virtio_device_id id_table[] = {
> { 0 },
> };
>
> +static char *adjust_pages = "";
> +module_param(adjust_pages, charp, 0);
> +MODULE_PARM_DESC(adjust_pages, "Whether or not pages in the balloon should be removed from the managed page count");
> +
> +static bool should_adjust_pages(struct virtio_balloon *vb)
> +{
> + if (!strcmp(adjus...