Le 20/07/2016 à 20:07, matthew green a écrit :
"Maxime Villard" writes:
Module Name:    src
Committed By:   maxv
Date:           Wed Jul 20 12:38:44 UTC 2016

Modified Files:
        src/sys/uvm: uvm_extern.h uvm_km.c

Log Message:
Introduce uvm_km_protect.

can you bring this up on tech-kern and discuss what it is for?
this commit message is entirely useless today, let alone in the
future when someone tries to understand what is happening here.

[1], and then [2]. It's just a simple function to mprotect an area allocated
with uvm_km_alloc. It could also be used here [3].

[1] http://mail-index.netbsd.org/source-changes/2016/07/20/msg076249.html
[2] http://mail-index.netbsd.org/source-changes/2016/07/20/msg076250.html
[3] https://nxr.netbsd.org/xref/src/sys/dev/ic/sti.c#349

Reply via email to