[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] user_intr: a lock to protect main_intr_queue
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] user_intr: a lock to protect main_intr_queue |
Date: |
Wed, 5 Aug 2020 02:32:04 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Junling Ma, le mar. 04 août 2020 17:11:06 -0700, a ecrit:
> In the next patch, we disallow deliver_user_intr from touching the queue, so
> we do not need to lock it.
We don't want separate patch to depend on each other. Each patch should
by its own just *work* so we can test all of them one after the other
separately.
Please read about git bisect.
Yes, we need to protect ++ / -- against other processors
reading/writing to them.
Samuel