[checkpatch] - Confusion

2013-06-09 Thread PINTU KUMAR
Hi, I wanted to submit my first patch. But I have some confusion about the /scripts/checkpatch.pl errors. After correcting some checkpatch errors, when I run checkpatch.pl, it showed me 0 errors. But when I create patches are git format-patch, it is showing me 1 error. If I fix error in patch,

Re: [checkpatch] - Confusion

2013-06-10 Thread PINTU KUMAR
> > From: anish singh >To: PINTU KUMAR >Cc: "linux-kernel@vger.kernel.org" ; >"linux...@kvack.org" >Sent: Sunday, 9 June 2013 10:58 PM >Subject: Re: [checkpatch] - Confusion > > >On Mon, Jun 10, 2013 at 11:2

[PATCH 1/2] mm: page_alloc: fixed checkpatch errors and spell

2013-07-22 Thread Pintu Kumar
This patch set fixes all errors reported by checkpatch. It also fixes the very small spell mistakes. Signed-off-by: Pintu Kumar --- mm/page_alloc.c | 45 - 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/mm/page_alloc.c b/mm

[PATCH 2/2] mm: page_alloc: avoid slowpath for more than MAX_ORDER allocation.

2013-07-22 Thread Pintu Kumar
: Pintu Kumar --- mm/page_alloc.c |4 1 file changed, 4 insertions(+) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 202ab58..6d38e75 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1564,6 +1564,10 @@ __setup("fail_page_alloc=", setup_fail_page_alloc); s

Re: [PATCH 2/2] mm: page_alloc: avoid slowpath for more than MAX_ORDER allocation.

2013-07-22 Thread PINTU KUMAR
Hi Johannes, Thank you for your reply. This is my first kernel patch, sorry for the small mistakes. Please find my comments inline. > > From: Johannes Weiner >To: Pintu Kumar >Cc: a...@linux-foundation.org; mgor...@suse.de; jiang@huawei

[Query] Performance degradation with memory compaction (on QC chip-set)

2013-05-12 Thread PINTU KUMAR
* Sorry Re-sending as plain text. Dear Mr. Mel Gorman, I have one question about memory compaction. Kernel version: kernel-3.4 (ARM) Chipset: Qual-Comm MSM8930 dual-core. We wanted to enable CONFIG_COMPACTION for our product with kernel-3.4. But QC commented that, enabling compaction on their c

Re: Info required: Tracking memcpy operation in user/kernel

2012-09-18 Thread PINTU KUMAR
any utility please let me know. Or, please let me know how to track memcpy from kernel space may be using some kernel module. Thank You! With Regards, Pintu     > >From: PINTU KUMAR >To: "linux...@kvack.org" ; "linux-kernel@vger.kernel.or

Re: Introducing Aggressive Low Memory Booster [1]

2013-01-20 Thread PINTU KUMAR
> > From: PINTU KUMAR >To: "linux...@kvack.org" ; "linux-kernel@vger.kernel.org" > >Cc: "linux-arm-ker...@lists.infradead.org" >; "pint...@samsung.com" >; Anton Vorontsov ; Alan Cox >; richard -rw- weinber

[linux-mm] Drastic increase in application memory usage with Kernel version upgrade

2016-08-04 Thread PINTU KUMAR
Hi All, For one of our ARM embedded product, we recently updated the Kernel version from 3.4 to 3.18 and we noticed that the same application memory usage (PSS value) gone up by ~10% and for some cases it even crossed ~50%. There is no change in platform part. All platform component was built with

RE: [linux-mm] Drastic increase in application memory usage with Kernel version upgrade

2016-08-05 Thread PINTU KUMAR
Hi, > -Original Message- > From: Minchan Kim [mailto:minc...@kernel.org] > Sent: Friday, August 05, 2016 1:50 PM > To: PINTU KUMAR > Cc: linux-kernel@vger.kernel.org; linux...@kvack.org; > jaejoon@samsung.com; jy0.j...@samsung.com; vishnu...@samsung.com > S

Re: [lkp-robot] [android/ion] 5fb70554d6: kernel_selftests.android.make_fail

2017-11-01 Thread Pintu Kumar
On Wed, Nov 1, 2017 at 3:28 AM, Laura Abbott wrote: > On 10/31/2017 03:21 AM, Pintu Kumar wrote: >> On Tue, Oct 31, 2017 at 2:32 AM, Laura Abbott wrote: >>> On 10/30/2017 12:12 AM, Pintu Kumar wrote: >>>> On Sun, Oct 29, 2017 at 7:51 PM, kernel test robot >>&g

Re: [lkp-robot] [android/ion] 5fb70554d6: kernel_selftests.android.make_fail

2017-11-01 Thread Pintu Kumar
On Wed, Nov 1, 2017 at 8:34 PM, Shuah Khan wrote: > On 11/01/2017 04:12 AM, Pintu Kumar wrote: >> On Wed, Nov 1, 2017 at 3:28 AM, Laura Abbott wrote: >>> On 10/31/2017 03:21 AM, Pintu Kumar wrote: >>>> On Tue, Oct 31, 2017 at 2:32 AM, Laura Abbott wrote: >&

Re: [lkp-robot] [android/ion] 5fb70554d6: kernel_selftests.android.make_fail

2017-11-01 Thread Pintu Kumar
On Wed, Nov 1, 2017 at 10:27 PM, Shuah Khan wrote: > On 11/01/2017 10:26 AM, Pintu Kumar wrote: >> On Wed, Nov 1, 2017 at 8:34 PM, Shuah Khan wrote: >>> On 11/01/2017 04:12 AM, Pintu Kumar wrote: >>>> On Wed, Nov 1, 2017 at 3:28 AM, Laura Abbott wrote: >>>

Re: [PATCHv5 1/1] [tools/selftests]: android/ion: userspace test utility for ion buffer sharing

2017-11-02 Thread Pintu Kumar
On Thu, Nov 2, 2017 at 8:37 PM, Shuah Khan wrote: > Hi Pintu, > > On 11/01/2017 11:00 AM, Pintu Agarwal wrote: >> This is a test utility to verify ION buffer sharing in user space >> between 2 independent processes. >> It uses unix domain socket (with SCM_RIGHTS) as IPC to transfer an FD to >> ano

Proposal: single defconfig for all ARM

2017-10-26 Thread Pintu Kumar
Hi, My proposal is to maintain a common base defconfig file for all ARM products and only add the additional configs in the new defconfig file. I am not sure if this is already possible. If this is possible please let us know the steps. For example: Under arch/arm/configs , there are more than 10

Re: [PATCHv4 1/1] [tools/selftests]: android/ion: userspace test utility for ion buffer sharing

2017-10-26 Thread Pintu Kumar
ST_PROGS := ion_test.sh > + > +include ../../lib.mk > + > +$(OUTPUT)/ionapp_export: ionapp_export.c ipcsocket.c ionutils.c > +$(OUTPUT)/ionapp_import: ionapp_import.c ipcsocket.c ionutils.c > diff --git a/tools/testing/selftests/android/ion/README > b/tools/testing/selftes

Re: [PATCHv5 1/1] [tools/selftests]: android/ion: userspace test utility for ion buffer sharing

2017-11-02 Thread Pintu Kumar
On Fri, Nov 3, 2017 at 6:02 AM, Shuah Khan wrote: > On 11/02/2017 05:54 PM, Laura Abbott wrote: >> On 11/02/2017 10:53 AM, Shuah Khan wrote: >>> On 11/02/2017 10:19 AM, Shuah Khan wrote: >>>> On 11/02/2017 10:15 AM, Pintu Kumar wrote: >>>>> On T

Re: [PATCHv3 1/1] [tools/selftests]: android/ion: userspace test utility for ion buffer sharing

2017-10-18 Thread Pintu Kumar
7e6f39 >>> --- /dev/null >>> +++ b/tools/testing/selftests/android/ion/.gitignore >>> @@ -0,0 +1,2 @@ >>> +ionapp_export >>> +ionapp_import >>> diff --git a/tools/testing/selftests/android/ion/Makefile >>> b/tools/testing/selftests/androi

Re: [PATCHv4 1/1] [tools/selftests]: android/ion: userspace test utility for ion buffer sharing

2017-10-27 Thread Pintu Kumar
On Fri, Oct 27, 2017 at 2:15 PM, Greg Kroah-Hartman wrote: > On Fri, Oct 27, 2017 at 11:04:49AM +0530, Pintu Kumar wrote: >> Dear Laura, Shuah, >> >> Request you to please review the PATCHv4. > > A response with only 3 days, while everyone is traveling at conferences, &

Re: [lkp-robot] [android/ion] 5fb70554d6: kernel_selftests.android.make_fail

2017-10-30 Thread Pintu Kumar
On Sun, Oct 29, 2017 at 7:51 PM, kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-6): > > commit: 5fb70554d68e2ea032b6a28b082801d8b7b76cb8 ("android/ion: userspace > test utility for ion buffer sharing") > url: > https://github.com/0day-ci/linux/commits/Pintu-Aga

Re: [PATCHv4 1/1] [tools/selftests]: android/ion: userspace test utility for ion buffer sharing

2017-10-31 Thread Pintu Kumar
/testing/selftests/android/ion/Makefile >> new file mode 100644 >> index 000..1399a5e >> --- /dev/null >> +++ b/tools/testing/selftests/android/ion/Makefile >> @@ -0,0 +1,16 @@ >> + >> +INCLUDEDIR := -I../../../../../drivers/staging/android/uapi/

Re: [lkp-robot] [android/ion] 5fb70554d6: kernel_selftests.android.make_fail

2017-10-31 Thread Pintu Kumar
On Tue, Oct 31, 2017 at 2:32 AM, Laura Abbott wrote: > On 10/30/2017 12:12 AM, Pintu Kumar wrote: >> On Sun, Oct 29, 2017 at 7:51 PM, kernel test robot >> wrote: >>> >>> FYI, we noticed the following commit (built with gcc-6): >>> >>> commit:

RE: [PATCH 1/1] mm: vmstat: Add OOM kill count in vmstat counter

2015-10-06 Thread PINTU KUMAR
Hi, > -Original Message- > From: Michal Hocko [mailto:mho...@kernel.org] > Sent: Monday, October 05, 2015 5:53 PM > To: PINTU KUMAR > Cc: a...@linux-foundation.org; minc...@kernel.org; d...@stgolabs.net; > koc...@gmail.com; rient...@google.com; han...@cmpxchg.org; p

RE: [PATCH 1/1] mm: vmstat: Add OOM kill count in vmstat counter

2015-10-07 Thread PINTU KUMAR
Hi, > -Original Message- > From: Michal Hocko [mailto:mho...@kernel.org] > Sent: Tuesday, October 06, 2015 9:12 PM > To: PINTU KUMAR > Cc: a...@linux-foundation.org; minc...@kernel.org; d...@stgolabs.net; > koc...@gmail.com; rient...@google.com; han...@cmpxchg.org; p

[PATCH 1/1] mm: vmstat: Add OOM victims count in vmstat counter

2015-10-12 Thread Pintu Kumar
logs. Signed-off-by: Pintu Kumar --- include/linux/vm_event_item.h |1 + mm/oom_kill.c |2 ++ mm/page_alloc.c |1 - mm/vmstat.c |1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/linux/vm_event_item.h b/include

RE: [PATCH 1/1] mm: vmstat: Add OOM victims count in vmstat counter

2015-10-12 Thread PINTU KUMAR
Hi, Sorry, I forgot to mention the V2 update. I will highlight the V2 changes and RESEND. > -Original Message- > From: Pintu Kumar [mailto:pint...@samsung.com] > Sent: Monday, October 12, 2015 7:03 PM > To: a...@linux-foundation.org; minc...@kernel.org; d...@stgolabs

[RESEND PATCH 1/1] mm: vmstat: Add OOM victims count in vmstat counter

2015-10-12 Thread Pintu Kumar
logs. Signed-off-by: Pintu Kumar --- V2: Removed oom_stall, Suggested By: Michal Hocko Renamed oom_kill_count to nr_oom_victims, Suggested By: Michal Hocko Suggested By: Anshuman Khandual include/linux/vm_event_item.h |1 + mm/oom_kill.c |2 ++ mm/page_alloc.c

RE: [RESEND PATCH 1/1] mm: vmstat: Add OOM victims count in vmstat counter

2015-10-14 Thread PINTU KUMAR
Hi, Thank you very much for your review and comments. > -Original Message- > From: David Rientjes [mailto:rient...@google.com] > Sent: Wednesday, October 14, 2015 8:36 AM > To: Pintu Kumar > Cc: a...@linux-foundation.org; minc...@kernel.org; d...@stgolabs.net; > m

RE: [RESEND PATCH 1/1] mm: vmstat: Add OOM victims count in vmstat counter

2015-10-15 Thread PINTU KUMAR
Hi, > -Original Message- > From: David Rientjes [mailto:rient...@google.com] > Sent: Thursday, October 15, 2015 3:35 AM > To: PINTU KUMAR > Cc: a...@linux-foundation.org; minc...@kernel.org; d...@stgolabs.net; > mho...@suse.cz; koc...@gmail.com; han...@cmpxchg.org

[PATCH 1/1] mm: vmstat: Add OOM kill count in vmstat counter

2015-10-01 Thread Pintu Kumar
are 610 times, kernel entered into OOM cases. However, there were around 1763 oom killing happens. The OOM is bad for the any system. So, this counter can help the developer in tuning the memory requirement at least during initial bringup. Signed-off-by: Pintu Kumar --- include/linux

RE: [PATCH 1/1] mm: vmstat: Add OOM kill count in vmstat counter

2015-10-04 Thread PINTU KUMAR
Hi, > -Original Message- > From: Michal Hocko [mailto:mho...@kernel.org] > Sent: Thursday, October 01, 2015 7:09 PM > To: Pintu Kumar > Cc: a...@linux-foundation.org; minc...@kernel.org; d...@stgolabs.net; > koc...@gmail.com; rient...@google.com; han...@cmpxchg.org; p

RE: [PATCH 1/1] mm: vmstat: Add OOM kill count in vmstat counter

2015-10-04 Thread PINTU KUMAR
Hi, > -Original Message- > From: Anshuman Khandual [mailto:khand...@linux.vnet.ibm.com] > Sent: Thursday, October 01, 2015 7:00 PM > To: Pintu Kumar; a...@linux-foundation.org; minc...@kernel.org; > d...@stgolabs.net; mho...@suse.cz; koc...@gmail.com; rient...@go

Re: [PREEMPT_RT]: Using printk-rt-aware.patch in non-rt kernel

2018-07-26 Thread Pintu Kumar
On Thu, Jul 26, 2018 at 9:08 PM Sebastian Andrzej Siewior wrote: > > On 2018-07-18 20:19:15 [+0530], Pintu Kumar wrote: > > Hi All, > Hi, > > > I have a question about PREEMPT_RT patch for 3.10 kernel. > > I am trying to port this rt patch: 0224-printk-rt-aware.

[tools/perf] perf test LLVM failure on 4.9

2018-01-23 Thread Pintu Kumar
Hi All, I am verifying all perf tests on Ubuntu-16 x86-64 platform using the kernel version 4.9.20. I have installed several others packages including: clang, llvm But, when I run 'perf test' I get some FAILURE. Specially, 'perf test LLVM' is failing. Please check the below error logs:

Re: [tools/perf] perf test LLVM failure on 4.9

2018-01-24 Thread Pintu Kumar
F file bpf_probe: failed to convert perf probe eventsFailed to add events selected by BPF test child finished with -1 end Test BPF filter subtest 1: FAILED! Thanks, Pintu On Wed, Jan 24, 2018 at 6:39 AM, Wangnan (F) wrote: > > > On 2018/1/23 20:37, Pintu Kumar wrote: >> &

Re: [perf] perf test and probe fails sometimes on 4.9

2018-01-25 Thread Pintu Kumar
ING_DIR=/lib/modules/4.9.20-sc-amd-x86-64/build If you have any clue about these failure please help me. Thanks, Pintu On Wed, Jan 24, 2018 at 8:23 PM, Pintu Kumar wrote: > Hi, > > Thanks for your help. > Yes it was a sub version issue. > > Earlier, while building the k

Re: [perf] perf probe fails sometimes on 4.9

2018-01-30 Thread Pintu Kumar
On Tue, Jan 30, 2018 at 11:13 AM, Masami Hiramatsu wrote: > > On Mon, 29 Jan 2018 22:00:52 +0530 > Pintu Kumar wrote: > > > Dear Masami, > > > > Thank you so much for your reply. > > Please find some of my answers inline. > > > > > > On Mon,

Re: [perf] perf probe fails sometimes on 4.9

2018-01-31 Thread Pintu Kumar
Hiramatsu wrote: > On Tue, 30 Jan 2018 19:20:36 +0530 > Pintu Kumar wrote: > >> On Tue, Jan 30, 2018 at 11:13 AM, Masami Hiramatsu >> wrote: >> > >> > On Mon, 29 Jan 2018 22:00:52 +0530 >> > Pintu Kumar wrote: >> > >> > > De

Re: [perf] perf probe fails sometimes on 4.9

2018-02-01 Thread Pintu Kumar
no member f_mode. An error occurred in debuginfo analysis (-22). bpf_probe: failed to convert perf probe eventsFailed to add events selected by BPF test child finished with -1 end Test BPF filter subtest 1: FAILED! On Thu, Feb 1, 2018 at 10:50 AM, Pintu Kumar wrote: > Dear Masami, >

Re: [perf] perf probe fails sometimes on 4.9

2018-01-29 Thread Pintu Kumar
2018 at 7:09 PM, Pintu Kumar wrote: > Hi, > > ** Changed the subject now, since these issues are related to general > perf commands. > > Following are the issues: > > 1) perf probe --add schedule - FAILED > output: > schedule is out of .text, skip it. > Error:

Re: [perf] perf probe fails sometimes on 4.9

2018-01-29 Thread Pintu Kumar
Dear Masami, Thank you so much for your reply. Please find some of my answers inline. On Mon, Jan 29, 2018 at 7:47 PM, Masami Hiramatsu wrote: > On Mon, 29 Jan 2018 13:40:34 +0530 > Pintu Kumar wrote: > >> Hi All, >> >> 'perf probe' is failing sometimes o

[HELP] CPU Hard LOCKUP during boot up with HPET clock source

2018-04-06 Thread Pintu Kumar
Hi, First the few details: Kernel: 4.9.20 Machine: x86_64 (AMD) Model: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz Cores: 8 Available clock source: # cat /sys/devices/system/clocksource/clocksource0/available_clocksource tsc hpet acpi_pm Problem: [ 28.027409] NMI watchdog: Watchdog detected hard L

Re: [PATCH v2] selftests/android/ion: fix heap_type may be uninitialized

2018-04-06 Thread Pintu Kumar
On Thu, Apr 5, 2018 at 1:09 PM, Anders Roxell wrote: > gcc warns that 'heap_type' is not initialized if we don't come through > any of the two 'case' statesments before: > > ionapp_export.c:91:2: warning: ‘heap_type’ may be used uninitialized in > this function [-Wmaybe-uninitialized] > printf("

Re: [HELP] CPU Hard LOCKUP during boot up with HPET clock source

2018-04-08 Thread Pintu Kumar
Hi, As a simple query, Is there a way to skip current available clock source (hpet) and allow to pick the next one ? I guess this will solve our purpose. Thanks, Pintu On Fri, Apr 6, 2018 at 8:37 PM, Pintu Kumar wrote: > Hi, > > First the few details: > Kernel: 4.9.20 > Machi

Re: [PATCH 2/3] selftests/android: initialize heap_type to avoid compiling warning

2018-07-10 Thread Pintu Kumar
On Tue, Jul 10, 2018 at 8:20 PM Shuah Khan wrote: > > Hi Li Zhijian, > > On 07/01/2018 09:53 PM, Li Zhijian wrote: > > root@vm-lkp-nex04-8G-7 ~/linux-v4.18-rc2/tools/testing/selftests/android# > > make > > make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make > > rule. > >

Re: Delivery Status Notification (Failure)

2018-05-11 Thread Pintu Kumar
Hi, I need one help. I am using i.MX7 Sabre board with kernel version 4.1.15 Let's say I am interested in GPIO number: 21 I wanted to set CPU affinity for particular GPIO->IRQ number, so I tried the below steps: root@10:~# echo 21 > /sys/class/gpio/export root@10:~# echo "rising" > /sys/class/gpi

Re: Delivery Status Notification (Failure)

2018-05-11 Thread Pintu Kumar
On Fri, May 11, 2018 at 6:34 PM, Lucas Stach wrote: > Am Freitag, den 11.05.2018, 13:39 +0100 schrieb Russell King - ARM Linux: >> On Fri, May 11, 2018 at 05:07:37PM +0530, Pintu Kumar wrote: >> > Hi, >> > >> > I need one help. >> > I am using

Re: [PATCH] selftests: android: delete RUN_TESTS and EMIT_TESTS overrides

2018-05-12 Thread Pintu Kumar
On Thu, May 3, 2018 at 2:48 AM, Shuah Khan (Samsung OSG) wrote: > Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in > lib.mk. Common defines work just fine and there is no need to define > custom overrides. > > Signed-off-by: Shuah Khan (Samsung OSG) > --- > tools/testing/selft

Re: Delivery Status Notification (Failure)

2018-05-14 Thread Pintu Kumar
be served by another CPU ? Need your inputs to decide whether it is still possible to set affinity for GPIO interrupt, or its impossible ? Thanks, Pintu On Fri, May 11, 2018 at 8:07 PM, Pintu Kumar wrote: > On Fri, May 11, 2018 at 6:34 PM, Lucas Stach wrote: >> Am Freitag, den 1

Re: Delivery Status Notification (Failure)

2018-05-14 Thread Pintu Kumar
On Mon, May 14, 2018 at 6:41 PM, Lucas Stach wrote: > Am Montag, den 14.05.2018, 17:42 +0530 schrieb Pintu Kumar: >> Hi, >> >> Is there any work around possible to set IRQ affinity for some GPIO >> interrupt ? >> How to avoid CPU0 to receive the current GPIO int

Re: Delivery Status Notification (Failure)

2018-05-17 Thread Pintu Kumar
On Mon, May 14, 2018 at 7:58 PM, Pintu Kumar wrote: > > On Mon, May 14, 2018 at 6:41 PM, Lucas Stach wrote: > > Am Montag, den 14.05.2018, 17:42 +0530 schrieb Pintu Kumar: > >> Hi, > >> > >> Is there any work around possible to set IRQ affinity for some

Re: KSM not working in 4.9 Kernel

2018-09-16 Thread Pintu Kumar
On Sun, Sep 16, 2018 at 9:02 PM Mike Rapoport wrote: > > On Fri, Sep 14, 2018 at 07:58:01PM +0530, Pintu Kumar wrote: > > Hi All, > > > > Board: Hikey620 ARM64 > > Kernel: 4.9.20 > > > > I am trying to verify KSM (Kernel Same Page Merging) functionality

Re: KSM not working in 4.9 Kernel

2018-09-16 Thread Pintu Kumar
On Mon, Sep 17, 2018 at 10:07 AM Mike Rapoport wrote: > > On Sun, Sep 16, 2018 at 10:35:17PM +0530, Pintu Kumar wrote: > > On Sun, Sep 16, 2018 at 9:02 PM Mike Rapoport > > wrote: > > > > > > On Fri, Sep 14, 2018 at 07:58:01PM +0530, Pintu Kumar wrote: &

Re: KSM not working in 4.9 Kernel

2018-09-17 Thread Pintu Kumar
On Mon, Sep 17, 2018 at 11:46 AM Pintu Kumar wrote: > > > But still no effect. > > > And I checked LTP test cases. It almost doing the same thing. > > > > > > I observed that [ksmd] thread is not waking up at all. > > > I gave some print inside

Re: [PREEMPT_RT]: Using printk-rt-aware.patch in non-rt kernel

2018-07-18 Thread Pintu Kumar
s this the expected behavior, even on PREEMPT_RT kernel? Is there a way we can fix this issue on non-rt kernel? Please help us with your suggestions. Thanks, Pintu On Wed, Jun 13, 2018 at 8:02 PM Pintu Kumar wrote: > > Dear Thomas, > > I was looking into this RT patches fo

[PATCH v2] mm/compaction: remove unused variable sysctl_compact_memory

2021-03-04 Thread Pintu Kumar
. No functionality is broken or changed this way. Signed-off-by: Pintu Kumar Signed-off-by: Pintu Agarwal --- v2: completely get rid of this variable and set .data to NULL Suggested-by: Vlastimil Babka include/linux/compaction.h | 1 - kernel/sysctl.c| 2 +- mm/compaction.c

[PATCH] mm: introduce clear all vm events counters

2021-03-01 Thread Pintu Kumar
ode is filled with default or current value. There could be few other use cases where this can be useful. Signed-off-by: Pintu Kumar Signed-off-by: Pintu Agarwal --- Documentation/admin-guide/sysctl/vm.rst | 8 include/linux/vmstat.h | 7 +++ kernel/sysct

[PATCH] mm/compaction: remove unused variable sysctl_compact_memory

2021-03-02 Thread Pintu Kumar
changed this way. Signed-off-by: Pintu Kumar Signed-off-by: Pintu Agarwal --- include/linux/compaction.h | 1 - kernel/sysctl.c| 1 + mm/compaction.c| 3 --- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/linux/compaction.h b/include/linux/compaction.h

Changing PAGE_ALLOC_COSTLY_ORDER from 3 to 2

2014-09-26 Thread Pintu Kumar
! Regards, Pintu Kumar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://w

Questions regarding DMA buffer sharing using IOMMU

2014-05-12 Thread Pintu Kumar
Hi,  I have some queries regarding IOMMU and CMA buffer sharing.  We have an embedded linux device (kernel 3.10, RAM: 256Mb) in which camera and codec supports IOMMU but the display does not support IOMMU.  Thus for camera capture we are using iommu buffers using ION/DMABUF. But for all display r

RE: Questions regarding DMA buffer sharing using IOMMU

2014-05-12 Thread Pintu Kumar
buffer sharing using IOMMU > Date: Mon, 12 May 2014 14:00:57 +0200 > > On Monday 12 May 2014 15:12:41 Pintu Kumar wrote: >> Hi, >> I have some queries regarding IOMMU and CMA buffer sharing. >> We have an embedded linux device (kernel 3.10, RAM: 256Mb) in >> which

RE: Questions regarding DMA buffer sharing using IOMMU

2014-05-12 Thread Pintu Kumar
linux-kernel@vger.kernel.org; > linaro-mm-...@lists.linaro.org > Subject: Re: Questions regarding DMA buffer sharing using IOMMU > > On 5/12/2014 7:37 AM, Pintu Kumar wrote: >> Hi, >> Thanks for the reply. >> >> --

RE: Questions regarding DMA buffer sharing using IOMMU

2014-05-12 Thread Pintu Kumar
linux-kernel@vger.kernel.org; > linaro-mm-...@lists.linaro.org > Subject: Re: Questions regarding DMA buffer sharing using IOMMU > > On 5/12/2014 7:37 AM, Pintu Kumar wrote: >> Hi, >> Thanks for the reply. >> >> --

Re: Help about calculating total memory consumption during booting

2013-12-30 Thread PINTU KUMAR
> > From: Stefan Beller >To: PINTU KUMAR ; "linux...@kvack.org" >; "linux-kernel@vger.kernel.org" >; "mgor...@suse.de" >Sent: Monday, 30 December 2013 1:55 AM >Subject: Re: Help about calculating total me

Help about calculating total memory consumption during booting

2013-12-29 Thread PINTU KUMAR
Hi, I need help in roughly calculating the total memory consumption in an embedded Linux system just after booting is finished. I know, I can see the memory stats using "free" and "/proc/meminfo" But, I need the breakup of "Used" memory during bootup, for both kernel space and user application.

RE: [PATCH] mm: cma: split cma-reserved in dmesg log

2014-10-21 Thread PINTU KUMAR
Hi, - Original Message - > From: Gioh Kim > To: Pintu Kumar ; a...@linux-foundation.org; han...@cmpxchg.org; r...@redhat.com; mgor...@suse.de; vdavy...@parallels.com; nasa4...@gmail.com; ddstr...@ieee.org; m.szyprow...@samsung.com; min...@mina86.com; iamjoonsoo@lge.com; anee

[PATCH v2 1/2] mm: cma: split cma-reserved in dmesg log

2014-10-22 Thread Pintu Kumar
12MB single CMA region. Before this change: Memory: 458840k/458840k available, 65448k reserved, 0K highmem After this change: Memory: 458840k/458840k available, 53160k reserved, 12288k cma-reserved, 0K highmem Signed-off-by: Pintu Kumar Signed-off-by: Vishnu Pratap Singh --- v2: Moved

[PATCH v2 2/2] fs: proc: Include cma info in proc/meminfo

2014-10-22 Thread Pintu Kumar
0 warnings, 2 checks, 236 lines checked Signed-off-by: Pintu Kumar Signed-off-by: Vishnu Pratap Singh --- fs/proc/meminfo.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/fs/proc/meminfo.c b/fs/proc/meminfo.c index aa1eee0..d3ebf2e 100644 --- a/fs/proc/me

RE: [PATCH v2 1/2] mm: cma: split cma-reserved in dmesg log

2014-11-04 Thread PINTU KUMAR
> -Original Message- > From: David Rientjes [mailto:rient...@google.com] > Sent: Tuesday, November 04, 2014 5:27 AM > To: Pintu Kumar > Cc: a...@linux-foundation.org; r...@redhat.com; aqu...@redhat.com; > paul.gortma...@windriver.com; jmarc...@redhat.com; > l

[PATCH] [mm]: vmscan: replace printk with pr_err

2014-10-12 Thread Pintu Kumar
This patch replaces printk(KERN_ERR..) with pr_err found under shrink_slab. Thus it also reduces one line extra because of formatting. Signed-off-by: Pintu Kumar --- mm/vmscan.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index dcb4707

[PATCH 1/1] [mm]: vmalloc: replace printk with pr_warn

2014-10-12 Thread Pintu Kumar
This patch replaces printk(KERN_WARNING..) with pr_warn. Thus it also reduces one line extra because of formatting. Signed-off-by: Pintu Kumar --- mm/vmalloc.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 90520af..8a18196 100644

[PATCH 1/1] [ion]: system-heap use PAGE_ALLOC_COSTLY_ORDER for high order

2014-10-06 Thread Pintu Kumar
hard-coded value with PAGE_ALLOC_COSTLY_ORDER which is defined as 3. This will help mapping the higher order request in system heap with the actual allocation request. Signed-off-by: Pintu Kumar --- drivers/staging/android/ion/ion_system_heap.c |4 ++-- 1 file changed, 2 insertions(+), 2

Re: Re: [PATCH 1/1] [ion]: system-heap use PAGE_ALLOC_COSTLY_ORDER for high order

2014-10-06 Thread PINTU KUMAR
Hi, > > From: Laura Abbott >To: Heesub Shin ; Pintu Kumar ; >a...@linux-foundation.org; gre...@linuxfoundation.org; john.stu...@linaro.org; >rebe...@android.com; ccr...@android.com; de...@driverdev.osuosl.org; >linux-kernel@vger.kern

RE: Re: [PATCH 1/1] [ion]: system-heap use PAGE_ALLOC_COSTLY_ORDER for high order

2014-10-07 Thread PINTU KUMAR
om" ; > "de...@driverdev.osuosl.org" ; > "linux-kernel@vger.kernel.org" ; IQBAL SHAREEF > ; "pintu_agar...@yahoo.com" ; > Vishnu Pratap Singh ; "c...@samsung.com" > > Sent: Monday, 6 October 2014 11:01 PM > Subject: Re: Re: [PATCH 1/1

RE: [PATCH v2 2/2] fs: proc: Include cma info in proc/meminfo

2014-10-24 Thread PINTU KUMAR
Hi, - Original Message - > From: Gioh Kim > To: Pintu Kumar ; a...@linux-foundation.org; r...@redhat.com; aqu...@redhat.com; paul.gortma...@windriver.com; jmarc...@redhat.com; lcapitul...@redhat.com; kirill.shute...@linux.intel.com; m.szyprow...@samsung.com; ane

RE: [PATCH v2 1/2] mm: cma: split cma-reserved in dmesg log

2014-10-24 Thread PINTU KUMAR
- Original Message - > From: Michal Nazarewicz > To: Pintu Kumar ; a...@linux-foundation.org; > r...@redhat.com; pint...@samsung.com; aqu...@redhat.com; > paul.gortma...@windriver.com; jmarc...@redhat.com; lcapitul...@redhat.com; > kirill.shute...@linux.intel

RE: [PATCH v2 2/2] fs: proc: Include cma info in proc/meminfo

2014-10-24 Thread PINTU KUMAR
- Original Message - > From: Gioh Kim > To: PINTU KUMAR ; a...@linux-foundation.org; r...@redhat.com; aqu...@redhat.com; paul.gortma...@windriver.com; jmarc...@redhat.com; lcapitul...@redhat.com; kirill.shute...@linux.intel.com; m.szyprow...@samsung.com; aneesh.ku...@linux.vnet.i

[bug]: Kernel panic in 3.10.17

2014-11-10 Thread PINTU KUMAR
Hi, Today, I got came across the below kernel panic, when device was idle. As per the analysis the crash is happening in: sched/fair.c: tg_load_down: load = tg->parent->cfs_rq[cpu]->h_load; The backtrace says: tg->parent = 0x0, which is strange. If anybody knows about any fixes for this, please l

RE: [PATCH v3 1/1] kernel/sysctl.c: Add /proc/sys/vm/shrink_memory feature

2015-07-22 Thread PINTU KUMAR
ERNATION */ > -Original Message- > From: Mel Gorman [mailto:mgor...@suse.de] > Sent: Monday, July 20, 2015 11:26 PM > To: PINTU KUMAR > Cc: a...@linux-foundation.org; cor...@lwn.net; vba...@suse.cz; > gorcu...@openvz.org; mho...@suse.cz; emun...@akamai.com; > kirill.shute...@linux.int

RE: [PATCH v3 1/1] kernel/sysctl.c: Add /proc/sys/vm/shrink_memory feature

2015-07-28 Thread PINTU KUMAR
Sorry, for late reply. > -Original Message- > From: Mel Gorman [mailto:mgor...@suse.de] > Sent: Wednesday, July 22, 2015 7:36 PM > To: PINTU KUMAR > Cc: a...@linux-foundation.org; cor...@lwn.net; vba...@suse.cz; > gorcu...@openvz.org; mho...@suse.cz; emun...@akamai.c

[PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-07 Thread Pintu Kumar
erforming direct reclaim/compaction. That means the remaining 206 times the allocation would have succeeded using the alloc_pages_high_priority. Signed-off-by: Pintu Kumar --- include/linux/vm_event_item.h |2 +- mm/page_alloc.c |2 ++ mm/vmstat.c |2 +-

RE: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-07 Thread PINTU KUMAR
Hi, > -Original Message- > From: Michal Hocko [mailto:mho...@kernel.org] > Sent: Friday, August 07, 2015 1:14 PM > To: Pintu Kumar > Cc: a...@linux-foundation.org; linux-kernel@vger.kernel.org; linux- > m...@kvack.org; minc...@kernel.org; d...@stgolabs.net; koc...

[PATCH 1/1] mm: compaction: include compact_nodes in compaction.h

2015-08-07 Thread Pintu Kumar
system is idle. There could be other use cases. Signed-off-by: Pintu Kumar --- include/linux/compaction.h |2 +- mm/compaction.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/compaction.h b/include/linux/compaction.h index aa8f61c..800ff50

RE: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-10 Thread PINTU KUMAR
Hi, > -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Saturday, August 08, 2015 4:06 AM > To: PINTU KUMAR > Cc: 'Michal Hocko'; linux-kernel@vger.kernel.org; linux...@kvack.org; > minc...@kernel.org; d...@stgolabs.n

[PATCHv2 1/1] kernel/sysctl.c: Add /proc/sys/vm/shrink_memory feature

2015-07-16 Thread Pintu Kumar
10) This may also help in reducing fragmentation within CMA region. 11) More use cases can be identified. Most importantly, it can be more effective when applied intelligently, based on certain conditions. It should be executed always and the decision is left upto the user. Signed-off-by: Pintu Kum

RE: [PATCHv2 1/1] kernel/sysctl.c: Add /proc/sys/vm/shrink_memory feature

2015-07-17 Thread PINTU KUMAR
Sorry, correcting a small typo error below. Please review and provide your comments. This is the version2 of the previous patch. > -Original Message- > From: Pintu Kumar [mailto:pint...@samsung.com] > Sent: Friday, July 17, 2015 12:00 PM > To: a...@linux-foundation.org; co

[PATCH v3 1/1] kernel/sysctl.c: Add /proc/sys/vm/shrink_memory feature

2015-07-19 Thread Pintu Kumar
may also help in reducing fragmentation within CMA region. 11) More use cases can be identified. Most importantly, it can be more effective when applied intelligently, based on certain conditions. It should not be executed always and the decision is left upto the user. Signed-off-by: Pintu Kumar -

RE: [PATCH v3 1/1] kernel/sysctl.c: Add /proc/sys/vm/shrink_memory feature

2015-07-20 Thread PINTU KUMAR
. But in embedded world, hibernation is not used, so this feature cannot be utilized. Thanks once again for the review and feedback. > -Original Message- > From: Mel Gorman [mailto:mgor...@suse.de] > Sent: Monday, July 20, 2015 1:58 PM > To: Pintu Kumar > Cc: a...@linux-foun

[PATCH] mm: cma: split cma-reserved in dmesg log

2014-10-20 Thread Pintu Kumar
12MB single CMA region. Before this change: Memory: 458840k/458840k available, 65448k reserved, 0K highmem After this change: Memory: 458840k/458840k available, 53160k reserved, 12288k cma-reserved, 0K highmem Signed-off-by: Pintu Kumar Signed-off-by: Vishnu Pratap Singh --- include/linux

RE: [PATCH 1/1] mm: vmstat: Add OOM kill count in vmstat counter

2015-10-08 Thread PINTU KUMAR
Hi, Thank you very much for your reply and comments. > -Original Message- > From: Michal Hocko [mailto:mho...@kernel.org] > Sent: Thursday, October 08, 2015 7:49 PM > To: PINTU KUMAR > Cc: a...@linux-foundation.org; minc...@kernel.org; d...@stgolabs.net; > koc..

RE: [PATCH 1/1] mm: vmstat: Add OOM kill count in vmstat counter

2015-10-09 Thread PINTU KUMAR
> -Original Message- > From: Michal Hocko [mailto:mho...@kernel.org] > Sent: Thursday, October 08, 2015 10:01 PM > To: PINTU KUMAR > Cc: a...@linux-foundation.org; minc...@kernel.org; d...@stgolabs.net; > koc...@gmail.com; rient...@google.com; han...@cmpxchg.org; p

RE: [PATCH 1/1] staging: ion: Fix error handling in ion_buffer_create

2015-09-30 Thread PINTU KUMAR
(ret) > > - goto err; > > } > > > > buffer->dev = dev; > > @@ -261,9 +258,8 @@ static struct ion_buffer *ion_buffer_create(struct > > ion_heap *heap, > > > > err: > > heap->ops->unmap_dma(heap, buffer); >

KSM not working in 4.9 Kernel

2018-09-14 Thread Pintu Kumar
Hi All, Board: Hikey620 ARM64 Kernel: 4.9.20 I am trying to verify KSM (Kernel Same Page Merging) functionality on 4.9 Kernel using "mmap" and madvise user space test utility. But to my observation, it seems KSM is not working for me. CONFIG_KSM=y is enabled in kernel. ksm_init is also called dur

Re: KSM not working in 4.9 Kernel

2018-09-14 Thread Pintu Kumar
On Fri, 14 Sep 2018, 10:42 pm Yang Shi, wrote: > > Hi Pintu, > > I recall there are some ksm test cases in LTP. Did you try them out? No. I haven't seen the LTP test. I will check out now. But I wonder what is the problem with my test? > On Fri, Sep 14, 2018 at 7:28 A

Re: KSM not working in 4.9 Kernel

2018-09-20 Thread Pintu Kumar
ed ? What can I interpret from this? And, what does it mean by: pages_volatile:1 ? Basically, I wanted to understand, is there any problem with the above output, or it is fine. If it is fine, how to prove it? Thanks, Pintu On Mon, Sep 17, 2018 at 8:29 PM Mike Rapoport wrote: > > On Mon,

Re: Delivery Status Notification (Failure)

2018-05-21 Thread Pintu Kumar
l I am not familiar with this. So, I need your help. Thank You! Regards, Pintu On Thu, May 17, 2018 at 6:58 PM, Pintu Kumar wrote: > On Mon, May 14, 2018 at 7:58 PM, Pintu Kumar wrote: >> >> On Mon, May 14, 2018 at 6:41 PM, Lucas Stach wrote: >> > Am Montag, den 14.0

Re: [PATCH] selftests/android/ion: fix heap_type may be uninitialized

2018-03-16 Thread Pintu Kumar
On Thu, Mar 8, 2018 at 7:18 PM, Anders Roxell wrote: > gcc warns that 'heap_type' is not initialized if we don't come through > any of the two 'case' statesments before: > OK thanks for your patch. > ionapp_export.c:91:2: warning: ‘heap_type’ may be used uninitialized in > this function [-Wmaybe

Re: [PATCH 01/24] selftests: android: ion: return Kselftest Skip code for skipped tests

2018-05-07 Thread Pintu Kumar
On Sat, May 5, 2018 at 6:43 AM, Shuah Khan (Samsung OSG) wrote: > When ion test is skipped because of unmet dependencies and/or unsupported > configuration, it returns 0 which is treated as a pass by the Kselftest > framework. This leads to false positive result even when the test could > not be r

RE: [linux-mm] Drastic increase in application memory usage with Kernel version upgrade

2016-08-10 Thread PINTU KUMAR
Hi, > -Original Message- > From: Pavel Machek [mailto:pa...@ucw.cz] > Sent: Saturday, August 06, 2016 2:20 AM > To: PINTU KUMAR > Cc: 'Minchan Kim'; linux-kernel@vger.kernel.org; linux...@kvack.org; > jaejoon@samsung.com; jy0.j...@samsung.com; vishnu.

RE: [linux-mm] Drastic increase in application memory usage with Kernel version upgrade

2016-08-10 Thread PINTU KUMAR
Hi, > -Original Message- > From: vinayak menon [mailto:vinayakm.l...@gmail.com] > Sent: Thursday, August 11, 2016 10:23 AM > To: PINTU KUMAR > Cc: Pavel Machek; Konstantin Khlebnikov; Minchan Kim; linux- > ker...@vger.kernel.org; linux...@kvack.org; jaejoon@sa

  1   2   >