Messages in this thread | | | Date | Tue, 20 Aug 2013 11:56:15 +0800 | From | Chen Gang <> | Subject | [PATCH 0/3] mm: mempolicy: the failure processing about mpol_to_str() |
| |
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 <gang.chen@asianux.com> --- fs/proc/task_mmu.c | 16 ++++++++++++++-- mm/mempolicy.c | 14 ++++++++++---- mm/shmem.c | 15 ++++++++++++++- 3 files changed, 38 insertions(+), 7 deletions(-)
| |