[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180926160031.15721-1-willy@infradead.org>
Date: Wed, 26 Sep 2018 09:00:27 -0700
From: Matthew Wilcox <willy@...radead.org>
To: David Airlie <airlied@...ux.ie>, Gerd Hoffmann <kraxel@...hat.com>
Cc: Matthew Wilcox <willy@...radead.org>,
dri-devel@...ts.freedesktop.org,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/4] Improve virtio ID allocation
I noticed you were using IDRs where you could be using the more efficient
IDAs, then while fixing that I noticed the lack of error handling,
and I decided to follow that up with an efficiency improvement.
There's probably a v2 of this to follow because I couldn't figure
out how to properly handle one of the error cases ... see the comment
embedded in one of the patches.
Matthew Wilcox (4):
drm/virtio: Replace IDRs with IDAs
drm/virtio: Handle context ID allocation errors
drm/virtio: Handle object ID allocation errors
drm/virtio: Use IDAs more efficiently
drivers/gpu/drm/virtio/virtgpu_drv.h | 9 ++---
drivers/gpu/drm/virtio/virtgpu_fb.c | 10 ++++--
drivers/gpu/drm/virtio/virtgpu_gem.c | 10 ++++--
drivers/gpu/drm/virtio/virtgpu_ioctl.c | 5 ++-
drivers/gpu/drm/virtio/virtgpu_kms.c | 46 +++++++++-----------------
drivers/gpu/drm/virtio/virtgpu_vq.c | 19 ++++-------
6 files changed, 44 insertions(+), 55 deletions(-)
--
2.19.0
Powered by blists - more mailing lists