lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5b594d30e08b4acaf7aaf9b7a4419d2a.mripard@kernel.org>
Date:   Fri, 24 Nov 2023 10:41:05 +0000
From:   "Maxime Ripard" <mripard@...nel.org>
To:     "Dmitry Osipenko" <dmitry.osipenko@...labora.com>
Cc:     dri-devel@...ts.freedesktop.org, kernel@...labora.com,
        linux-kernel@...r.kernel.org,
        virtualization@...ts.linux-foundation.org,
        "Boris Brezillon" <boris.brezillon@...labora.com>,
        "Chia-I Wu" <olvaffe@...il.com>,
        Christian König <christian.koenig@....com>,
        "Daniel Vetter" <daniel@...ll.ch>,
        "David Airlie" <airlied@...il.com>,
        "Emma Anholt" <emma@...olt.net>,
        "Gerd Hoffmann" <kraxel@...hat.com>,
        "Gurchetan Singh" <gurchetansingh@...omium.org>,
        "Maarten Lankhorst" <maarten.lankhorst@...ux.intel.com>,
        "Maxime Ripard" <mripard@...nel.org>,
        "Melissa Wen" <mwen@...lia.com>, "Qiang Yu" <yuq825@...il.com>,
        "Steven Price" <steven.price@....com>,
        "Thomas Zimmermann" <tzimmermann@...e.de>
Subject: Re: [PATCH v18 06/26] drm/shmem-helper: Add and use pages_pin_count

On Mon, 30 Oct 2023 02:01:45 +0300, Dmitry Osipenko wrote:
> Add separate pages_pin_count for tracking of whether drm-shmem pages are
> moveable or not. With the addition of memory shrinker support to drm-shmem,
> the pages_use_count will no longer determine whether pages are hard-pinned
> in memory, but whether pages exist and are soft-pinned (and could be swapped
> out). The pages_pin_count > 1 will hard-pin pages in memory.
> 
> [ ... ]

Acked-by: Maxime Ripard <mripard@...nel.org>

Thanks!
Maxime

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ