Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

percpu-rw-semaphore: fix documentation typos

One more patch for this thing, fixing some typos in the documentation.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Mikulas Patocka and committed by
Jens Axboe
e6b5c082 3eab7315

+2 -2
+2 -2
Documentation/percpu-rw-semaphore.txt
··· 9 9 is bouncing between L1 caches of the cores, causing performance 10 10 degradation. 11 11 12 - Locking for reading it very fast, it uses RCU and it avoids any atomic 12 + Locking for reading is very fast, it uses RCU and it avoids any atomic 13 13 instruction in the lock and unlock path. On the other hand, locking for 14 14 writing is very expensive, it calls synchronize_rcu() that can take 15 - hundreds of microseconds. 15 + hundreds of milliseconds. 16 16 17 17 The lock is declared with "struct percpu_rw_semaphore" type. 18 18 The lock is initialized percpu_init_rwsem, it returns 0 on success and