Re: [PATCH 0/7] rwsem enhancement patches for 5.10

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

 



On 1/14/22 19:59, Jaegeuk Kim wrote:
Per discussion [1], can we merge these patches in 5.10 first?

[1] https://lore.kernel.org/linux-f2fs-devel/CAEe=Sx=6FCvrp_6x2Bqp3YTzep2s=aWdCmP29g7+sGCWkpNvkg@xxxxxxxxxxxxxx/T/#t

Peter Zijlstra (3):
   locking/rwsem: Better collate rwsem_read_trylock()
   locking/rwsem: Introduce rwsem_write_trylock()
   locking/rwsem: Fold __down_{read,write}*()

Waiman Long (4):
   locking/rwsem: Pass the current atomic count to
     rwsem_down_read_slowpath()
   locking/rwsem: Prevent potential lock starvation
   locking/rwsem: Enable reader optimistic lock stealing
   locking/rwsem: Remove reader optimistic spinning

  kernel/locking/lock_events_list.h |   6 +-
  kernel/locking/rwsem.c            | 359 +++++++++---------------------
  2 files changed, 106 insertions(+), 259 deletions(-)

Have you actually tested it in your testing environment to verify that these patches can address the problem? I suspect they will help, but it will be nice if you also include your test results.

Cheers,
Longman




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux