For the implementation (patch 1/3), need fill buffer as full as possible when buffer space is not enough.
For the caller (patch 2/3, 3/3), need check the return value of mpol_to_str(). Signed-off-by: Chen Gang <[email protected]> --- fs/proc/task_mmu.c | 16 ++++++++++++++-- mm/mempolicy.c | 14 ++++++++++---- mm/shmem.c | 15 ++++++++++++++- 3 files changed, 38 insertions(+), 7 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

