提交 b080e521 编写于 作者: S Shuah Khan 提交者: Jonathan Corbet

docs: update self-protection __ro_after_init status

__ro_after_init is no longer new and under development. Update the
document to reflect the correct status.
Signed-off-by: NShuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20211208164051.8783-1-skhan@linuxfoundation.orgSigned-off-by: NJonathan Corbet <corbet@lwn.net>
上级 4fd34f8e
...@@ -81,8 +81,7 @@ of the kernel, gaining the protection of the kernel's strict memory ...@@ -81,8 +81,7 @@ of the kernel, gaining the protection of the kernel's strict memory
permissions as described above. permissions as described above.
For variables that are initialized once at ``__init`` time, these can For variables that are initialized once at ``__init`` time, these can
be marked with the (new and under development) ``__ro_after_init`` be marked with the ``__ro_after_init`` attribute.
attribute.
What remains are variables that are updated rarely (e.g. GDT). These What remains are variables that are updated rarely (e.g. GDT). These
will need another infrastructure (similar to the temporary exceptions will need another infrastructure (similar to the temporary exceptions
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册