Re: Question about commit 94f01e467566("together/applyrcu: Note possibility of lost counts")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 05, 2023 at 11:29:22PM +0800, Alan Huang wrote:
> Hi Paul,
> 
> I noticed this commit 94f01e467566("together/applyrcu: Note possibility of lost counts”) said that:
> 
> 	count_unregister_thread()  can result in the outgoing thread's counts being lost. 
>         This can happen when read_count() is invoked between lines 66 and 68.
> 
> However, line 66 NULLs the local data, and it has not been published, I don’t think 
> count_unregister_thread()  can result in the outgoing thread's counts being lost.
> 
> Or, am I missing something?

You are missing nothing.

Some days it does not pay to touch the keyboard, and apparently last
week had at least one of those days.  :-/

							Thanx, Paul



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux