commit | d79df630f622806c4d0e116fbaf6ebf6baf53461 | [log] [tgz] |
---|---|---|
author | David Rientjes <rientjes@google.com> | Fri Jul 04 12:24:13 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Jul 04 13:03:05 2008 -0700 |
tree | d5a1c06209210c84ec60099687e4a87723ae1599 | |
parent | b8a0b6ccf2ba2519ace65d782b41ee91bf3c3778 [diff] |
mempolicy: mask off internal flags for userspace API Flags considered internal to the mempolicy kernel code are stored as part of the "flags" member of struct mempolicy. Before exposing a policy type to userspace via get_mempolicy(), these internal flags must be masked. Flags exposed to userspace, however, should still be returned to the user. Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>