Re: [PATCH] binder: Use kmem_cache for binder_thread

2019-09-02 Thread Peikan Tsai
On Fri, Aug 30, 2019 at 08:39:43AM +0200, Greg KH wrote: > On Fri, Aug 30, 2019 at 02:59:01AM +0800, Peikan Tsai wrote: > > On Thu, Aug 29, 2019 at 05:27:22PM +0200, Christian Brauner wrote: > > > On Thu, Aug 29, 2019 at 09:53:59AM -0400, Joel Fernandes wrote: > > > >

Re: [PATCH] binder: Use kmem_cache for binder_thread

2019-08-29 Thread Peikan Tsai
On Thu, Aug 29, 2019 at 05:27:22PM +0200, Christian Brauner wrote: > On Thu, Aug 29, 2019 at 09:53:59AM -0400, Joel Fernandes wrote: > > On Thu, Aug 29, 2019 at 08:42:29AM +0200, Greg KH wrote: > > > On Thu, Aug 29, 2019 at 01:49:53PM +0800, Peikan Tsai wrote: > > [snip

[PATCH] binder: Use kmem_cache for binder_thread

2019-08-28 Thread Peikan Tsai
Hi, The allocated size for each binder_thread is 512 bytes by kzalloc. Because the size of binder_thread is fixed and it's only 304 bytes. It will save 208 bytes per binder_thread when use create a kmem_cache for the binder_thread. Signed-off-by: Peikan Tsai --- drivers/android/binder.c | 16

[PATCH] staging: most-core: Fix checkpatch warnings

2019-08-25 Thread Peikan Tsai
clarations +} +/** Signed-off-by: Peikan Tsai --- drivers/staging/most/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/most/core.c b/drivers/staging/most/core.c index b9841adb7181..8e9a0b67c6ed 100644 --- a/drivers/staging/most/core.c +++ b/drivers/st

[PATCH] mailbox: arm-mhu: Use unsigned int for irq of mhu_link

2019-08-25 Thread Peikan Tsai
Hi, Please find attached patch which fixes a warning reported by checkpatch.pl in drivers/mailbox/arm_mhu.c. Fix warning reported by checkpatch.pl: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' + unsigned irq; Signed-off-by: Peikan Tsai --- drivers/mailbox/arm_mhu.c | 2 +- 1