Re: A question about QuickQuiz 5.46

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

 



Hi,

On Wed, 17 May 2023 12:01:10 +0000, Hao Lee wrote:
> Hi, Paul
> 
> I noticed that QuickQuiz 5.46 is causing confusion due to the fact that
> balance_count() and flush_local_count() are both located within the
> slowpath and are called sequentially. As a result, it is impossible for
> them to compete for the counterandmax thread-local variable.

Right.
And that's exactly what is mentioned in the answer to the quiz.

I guess it confused you because you didn't expect such an easy one,
no ? :-)

        Thanks, Akira

>                                                               Therefore,
> I believe that this quiz may be referring to the global variables
> globalcount and globalreserve.
> 
> Thanks,
> Hao Lee



[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