]> granicus.if.org Git - strace/commit
numa: enhance decoding of mode argument of mbind and set_mempolicy syscalls
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 5 Jul 2019 11:09:37 +0000 (11:09 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 5 Jul 2019 11:09:37 +0000 (11:09 +0000)
commit0ff53be435d3618a60443ab663103c191b557919
tree420588ea396801bbdf911ef1f22f007a84a68201
parent37bc1854ac487f2cd9036440dd8b9e1473196d52
numa: enhance decoding of mode argument of mbind and set_mempolicy syscalls

Implement decoding of memory policy mode flags introduced by Linux
kernel commits v2.6.26-rc1~990 and v2.6.26-rc1~988.

* xlat/mpol_mode_flags.in: New file.
* numa.c: Include "xlat/mpol_mode_flags.h".
(print_mode): Print MPOL_MODE_FLAGS part of mode argument as flags.
* NEWS: Mention this.
NEWS
numa.c
xlat/mpol_mode_flags.in [new file with mode: 0644]