[PATCH v2] kernfs: Allocating memory for kernfs_iattrs with kmem_cache.

2019-02-05 Thread Ayush Mittal
... kernfs_iattrs_cache 4069 4096128 321 : tunables000 : slabdata128128 0 ... All testing has been done on ARM target. Signed-off-by: Ayush Mittal Signed-off-by: Vaneet Narang --- v1 -> v2: Changed slab creation flag. fs/kernfs/dir.c | 2 +- fs/ker

[PATCH 1/1] kernfs: Allocating memory for kernfs_iattrs with kmem_cache.

2019-01-31 Thread Ayush Mittal
... kernfs_iattrs_cache 4069 4096128 321 : tunables000 : slabdata128128 0 ... All testing has been done on ARM taregt. Signed-off-by: Ayush Mittal Signed-off-by: Vaneet Narang --- fs/kernfs/dir.c | 2 +- fs/kernfs/inode.c | 2 +- fs

[PATCH 1/1] mpi: check for shift exponent greater than 31.

2017-10-23 Thread Ayush Mittal
'long unsigned int' So instead of undefined behaviour defining behaviour when shift exponent is greater than 31 then value will be Zero . Signed-off-by: Ayush Mittal <ayus...@samsung.com> Signed-off-by: Vaneet Narang <v.nar...@samsung.com> --- lib/mpi/generic_mpih-lshift.c | 6 +++

[PATCH 1/1] mpi: check for shift exponent greater than 31.

2017-10-23 Thread Ayush Mittal
'long unsigned int' So instead of undefined behaviour defining behaviour when shift exponent is greater than 31 then value will be Zero . Signed-off-by: Ayush Mittal Signed-off-by: Vaneet Narang --- lib/mpi/generic_mpih-lshift.c | 6 +++--- lib/mpi/generic_mpih-rshift.c | 6 +++--- lib/mpi/mpi

[PATCH 1/1] mpi: check for shift exponent greater than 31.

2017-10-12 Thread Ayush Mittal
'long unsigned int' So instead of undefined behaviour defining behaviour when shift exponent is greater than 31 then value will be Zero . Signed-off-by: Ayush Mittal <ayus...@samsung.com> Signed-off-by: Vaneet Narang <v.nar...@samsung.com> --- lib/mpi/generic_mpih-lshift.c | 6 +++

[PATCH 1/1] mpi: check for shift exponent greater than 31.

2017-10-12 Thread Ayush Mittal
'long unsigned int' So instead of undefined behaviour defining behaviour when shift exponent is greater than 31 then value will be Zero . Signed-off-by: Ayush Mittal Signed-off-by: Vaneet Narang --- lib/mpi/generic_mpih-lshift.c | 6 +++--- lib/mpi/generic_mpih-rshift.c | 6 +++--- lib/mpi/mpi

[PATCH 1/1] mm: reducing page_owner structure size

2017-10-10 Thread Ayush Mittal
. Signed-off-by: Ayush Mittal <ayus...@samsung.com> --- mm/page_owner.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/page_owner.c b/mm/page_owner.c index 0fd9dcf..4ab438a 100644 --- a/mm/page_owner.c +++ b/mm/page_owner.c @@ -19,9 +19,9 @@ #

[PATCH 1/1] mm: reducing page_owner structure size

2017-10-10 Thread Ayush Mittal
. Signed-off-by: Ayush Mittal --- mm/page_owner.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/page_owner.c b/mm/page_owner.c index 0fd9dcf..4ab438a 100644 --- a/mm/page_owner.c +++ b/mm/page_owner.c @@ -19,9 +19,9 @@ #define PAGE_OWNER_STACK_DEPTH (16) struct