linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Documentation: maple_tree: Improve statements on reserved values
@ 2026-04-18 20:47 Wei-Lin Chang
  2026-04-18 20:47 ` [RFC PATCH 1/2] Documentation: maple_tree: Point out constraint when using xa_{mk, to}_value Wei-Lin Chang
  2026-04-18 20:47 ` [RFC PATCH 2/2] Documentation: maple_tree: Clarify behavior when using reserved values Wei-Lin Chang
  0 siblings, 2 replies; 3+ messages in thread
From: Wei-Lin Chang @ 2026-04-18 20:47 UTC (permalink / raw)
  To: maple-tree, linux-mm, linux-doc, linux-kernel
  Cc: Liam R . Howlett, Alice Ryhl, Andrew Ballance, Jonathan Corbet,
	Shuah Khan, Wei-Lin Chang

Hi,

While using the maple tree and reading its documentation, I found a few
bits confusing, mainly about the reserved values. So here are some
changes hoping to make things clearer.

I am not familiar with the implementation, so I might be getting things
wrong, hence this being RFC.

While looking at the code I also found that although the doc claims the
normal API blocks reserved value stores, the code checks this using
xa_is_advanced(), which only blocks values up to 1026, not up to the max
maple tree reserved value 4094. For this part I am not sure whether the
code needs to be changed or we can also improve the doc.

Any feedback is appreciated, thanks!

Wei-Lin Chang (2):
  Documentation: maple_tree: Point out constraint when using xa_{mk,
    to}_value
  Documentation: maple_tree: Clarify behavior when using reserved values

 Documentation/core-api/maple_tree.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-18 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-18 20:47 [RFC PATCH 0/2] Documentation: maple_tree: Improve statements on reserved values Wei-Lin Chang
2026-04-18 20:47 ` [RFC PATCH 1/2] Documentation: maple_tree: Point out constraint when using xa_{mk, to}_value Wei-Lin Chang
2026-04-18 20:47 ` [RFC PATCH 2/2] Documentation: maple_tree: Clarify behavior when using reserved values Wei-Lin Chang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox