Re: [RFC][PATCH 05/13] percpu-rwsem: Optimize readers and reduce global impact

From: Oleg Nesterov
Date: Mon Jun 22 2015 - 19:03:45 EST


On 06/22, Peter Zijlstra wrote:
>
> +enum { readers_slow, readers_block };

I still think this enum doesn't make sense, and percpu_rw_semaphore->state
should be a boolean. But this is really minor and subjective.

Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/