Re: [PATCH] drm/ttm: optimize the pool shrinker a bit v3

2021-08-18 Thread Daniel Vetter
On Wed, Aug 18, 2021 at 03:09:41PM +0200, Christian König wrote: > Am 18.08.21 um 14:32 schrieb Daniel Vetter: > > On Wed, Aug 18, 2021 at 01:27:13PM +0200, Christian König wrote: > > > Just a gentle ping? > > > > > > Does anybody have any objections? It's just switching back to using a > > > spin

Re: [PATCH] drm/ttm: optimize the pool shrinker a bit v3

2021-08-18 Thread Christian König
Am 18.08.21 um 14:32 schrieb Daniel Vetter: On Wed, Aug 18, 2021 at 01:27:13PM +0200, Christian König wrote: Just a gentle ping? Does anybody have any objections? It's just switching back to using a spinlock in the hot path instead of a mutex. Thanks, Christian. Am 22.07.21 um 13:34 schrieb C

Re: [PATCH] drm/ttm: optimize the pool shrinker a bit v3

2021-08-18 Thread Daniel Vetter
On Wed, Aug 18, 2021 at 01:27:13PM +0200, Christian König wrote: > Just a gentle ping? > > Does anybody have any objections? It's just switching back to using a > spinlock in the hot path instead of a mutex. > > Thanks, > Christian. > > Am 22.07.21 um 13:34 schrieb Christian König: > > Switch ba

Re: [PATCH] drm/ttm: optimize the pool shrinker a bit v3

2021-08-18 Thread Christian König
Just a gentle ping? Does anybody have any objections? It's just switching back to using a spinlock in the hot path instead of a mutex. Thanks, Christian. Am 22.07.21 um 13:34 schrieb Christian König: Switch back to using a spinlock again by moving the IOMMU unmap outside of the locked region

Re: [PATCH] drm/ttm: optimize the pool shrinker a bit

2021-04-09 Thread Daniel Vetter
On Thu, Apr 08, 2021 at 02:44:16PM +0200, Christian König wrote: > Am 08.04.21 um 13:31 schrieb Daniel Vetter: > > On Thu, Apr 08, 2021 at 01:17:32PM +0200, Christian König wrote: > > > Am 08.04.21 um 13:08 schrieb Daniel Vetter: > > > > On Thu, Apr 01, 2021 at 03:54:13PM +0200, Christian König wro

Re: [PATCH] drm/ttm: optimize the pool shrinker a bit

2021-04-08 Thread Christian König
Am 08.04.21 um 13:31 schrieb Daniel Vetter: On Thu, Apr 08, 2021 at 01:17:32PM +0200, Christian König wrote: Am 08.04.21 um 13:08 schrieb Daniel Vetter: On Thu, Apr 01, 2021 at 03:54:13PM +0200, Christian König wrote: [SNIP] EXPORT_SYMBOL(unregister_shrinker); +/** + * sync_shrinker - Wait

Re: [PATCH] drm/ttm: optimize the pool shrinker a bit

2021-04-08 Thread Daniel Vetter
On Thu, Apr 08, 2021 at 01:17:32PM +0200, Christian König wrote: > Am 08.04.21 um 13:08 schrieb Daniel Vetter: > > On Thu, Apr 01, 2021 at 03:54:13PM +0200, Christian König wrote: > > > Switch back to using a spinlock again by moving the IOMMU unmap outside > > > of the locked region. > > > > > >

Re: [PATCH] drm/ttm: optimize the pool shrinker a bit

2021-04-08 Thread Christian König
Am 08.04.21 um 13:08 schrieb Daniel Vetter: On Thu, Apr 01, 2021 at 03:54:13PM +0200, Christian König wrote: Switch back to using a spinlock again by moving the IOMMU unmap outside of the locked region. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_pool.c | 40 +++---

Re: [PATCH] drm/ttm: optimize the pool shrinker a bit

2021-04-08 Thread Daniel Vetter
On Thu, Apr 01, 2021 at 03:54:13PM +0200, Christian König wrote: > Switch back to using a spinlock again by moving the IOMMU unmap outside > of the locked region. > > Signed-off-by: Christian König > --- > drivers/gpu/drm/ttm/ttm_pool.c | 40 +++--- > include/linux/sh

Re: [PATCH] drm/ttm: optimize the pool shrinker a bit

2021-04-01 Thread kernel test robot
Hi "Christian, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-tip/drm-tip] [also build test WARNING on drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next next-20210401] [cannot apply to drm-intel/for-linux-next linus/master drm/drm-next v5.12-rc5] [If your