Re: [PATCH v2 0/9] Remove spin_unlock_wait()

From: Peter Zijlstra
Date: Fri Jul 07 2017 - 07:23:41 EST

On Fri, Jul 07, 2017 at 12:33:49PM +0200, Ingo Molnar wrote:

> [1997/04] v2.1.36:
> the spin_unlock_wait() primitive gets introduced as part of release()

Whee, that goes _way_ further back than I thought it did :-)

> [2017/07] v4.12:
> wait_task_inactive() is still alive and kicking. Its poll loop has
> increased in complexity, but it still does not use spin_unlock_wait()

I've tried 'fixing' that wait_task_inactive() thing a number of times,
but always failed :/ That is very nasty code indeed.