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: <170117645564.2825698.1827367300735783510.b4-ty@kernel.org>
Date:   Tue, 28 Nov 2023 14:00:55 +0100
From:   Maxime Ripard <mripard@...nel.org>
To:     airlied@...il.com, daniel@...ll.ch, frank.binns@...tec.com,
        donald.robson@...tec.com, matt.coster@...tec.com,
        sarah.walker@...tec.com, Danilo Krummrich <dakr@...hat.com>
Cc:     dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: (subset) [PATCH drm-misc-next 1/5] drm/imagination: vm:
 prevent duplicate drm_gpuvm_bo instances

On Sat, 25 Nov 2023 00:36:36 +0100, Danilo Krummrich wrote:
> Use drm_gpuvm_bo_obtain() instead of drm_gpuvm_bo_create(). The latter
> should only be used in conjunction with drm_gpuvm_bo_obtain_prealloc().
> 
> drm_gpuvm_bo_obtain() re-uses existing instances of a given VM and BO
> combination, whereas drm_gpuvm_bo_create() would always create a new
> instance of struct drm_gpuvm_bo and hence leave us with duplicates.
> 
> [...]

Applied to drm/drm-misc (drm-misc-next).

Thanks!
Maxime

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ