Skip to contentSkip to conversation

documentation-sysctl-document-page_lock_unfairness.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message May 10, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: Documentation/sysctl: document page_lock_unfairness
has been removed from the -mm tree. Its filename was
documentation-sysctl-document-page_lock_unfairness.patch

This patch was dropped because it was merged into mm-stable

------------------------------------------------------
From: Joel Savitz <[email protected]>
Subject: Documentation/sysctl: document page_lock_unfairness

commit 5ef64cc8987a ("mm: allow a controlled amount of unfairness in the page lock") introduced a new systctl but no accompanying documentation.

Add a simple entry to the documentation.

Cc Jonathan Corbet <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Dave Hansen <[email protected]>
Cc Suren Baghdasaryan <[email protected]>
Cc Mike Rapoport <[email protected]>
Cc "zhangyi (F)" <[email protected]>
Cc Charan Teja Reddy <[email protected]>
Cc Linus Torvalds <[email protected]>

---

 Documentation/admin-guide/sysctl/vm.rst |    9 +++++++++
 1 file changed, 9 insertions(+)
Documentation/admin-guide/sysctl/vm.rst renamed from Documentation/admin-guide/sysctl/vm.rst~documentation-sysctl-document-page_lock_unfairness +9 -0
@@ -62,6 +62,7 @@ Currently, these files are in /proc/sys/
 - overcommit_memory
 - overcommit_ratio
 - page-cluster
+- page_lock_unfairness
 - panic_on_oom
 - percpu_pagelist_high_fraction
 - stat_interval
@@ -754,6 +755,14 @@ extra faults and I/O delays for followin
 that consecutive pages readahead would have brought in.
 
 
+page_lock_unfairness
+====================
+
+This value determines the number of times that the page lock can be
+stolen from under a waiter. After the lock is stolen the number of times
+specified in this file (default is 5), the "fair lock handoff" semantics
+will apply, and the waiter will only be awakened if the lock can be taken.
+
 panic_on_oom
 ============
 

_

Patches currently in -mm which might be from [email protected] are