Re: [PATCH v8 05/14] lockdep: Implement crossrelease feature

Peter Zijlstra
2017-08-10T09:21:50Z

On Thu, Aug 10, 2017 at 10:30:54AM +0900, Byungchul Park wrote:

> With a little feedback, it rather makes us a bit confused between
> XHLOCK_NR and MAX_XHLOCK_NR. what about the following?
>
> +enum xhlock_context_t {
> + XHLOCK_HARD,
> + XHLOCK_SOFT,
> + XHLOCK_PROC,
> + XHLOCK_CXT_NR,
> +};
>
> But it's trivial. I like yours, too.

grep -l "XHLOCK_NR" `quilt series` | while read file; do sed -i
's/XHLOCK_NR/XHLOCK_CTX_NR/g' $file; done

:-)