[PATCH stable v5.4] mm: memcg: fix memcg reclaim soft lockup

2020-09-21 Thread Julius Hemanth Pitti
er.kernel.org Signed-off-by: Julius Hemanth Pitti --- mm/vmscan.c | 8 1 file changed, 8 insertions(+) diff --git a/mm/vmscan.c b/mm/vmscan.c index 7fde5f904c8d..6db9176d8c63 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2775,6 +2775,14 @@ static bool shrink_node(pg_data

[PATCH stable v4.19] mm: memcg: fix memcg reclaim soft lockup

2020-09-21 Thread Julius Hemanth Pitti
ta...@vger.kernel.org Signed-off-by: Julius Hemanth Pitti --- mm/vmscan.c | 8 1 file changed, 8 insertions(+) diff --git a/mm/vmscan.c b/mm/vmscan.c index bc2ecd43251a..b93dc8fc6007 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2708,6 +2708,14 @@ static bool shrink_node(pg_data

Re: [PATCH stable v5.8] mm: memcg: fix memcg reclaim soft lockup

2020-09-21 Thread Julius Hemanth Pitti (jpitti)
On Mon, 2020-09-21 at 18:12 +0200, Greg KH wrote: > On Thu, Sep 17, 2020 at 06:19:13PM -0700, Julius Hemanth Pitti wrote: > > From: Xunlei Pang > > > > commit e3336cab2579012b1e72b5265adf98e2d6e244ad upstream. > > > > We've met softlockup with "CONFIG

[PATCH stable v5.8] mm: memcg: fix memcg reclaim soft lockup

2020-09-17 Thread Julius Hemanth Pitti
by: Linus Torvalds Fixes: b0dedc49a2da ("mm/vmscan.c: iterate only over charged shrinkers during memcg shrink_slab()") Cc: sta...@vger.kernel.org Signed-off-by: Julius Hemanth Pitti --- mm/vmscan.c | 8 1 file changed, 8 insertions(+) diff --git a/mm/vmscan.c b/mm/vmscan.c index 749d

Re: [PATCH v2] mm: memcg: yield cpu when we fail to charge pages

2020-09-08 Thread Julius Hemanth Pitti (jpitti)
On Tue, 2020-09-08 at 13:31 -0700, Yang Shi wrote: > On Tue, Sep 8, 2020 at 1:14 PM Julius Hemanth Pitti > wrote: > > > > For non root CG, in try_charge(), we keep trying > > to charge until we succeed. On non-preemptive > > kernel, when we are OOM, this resu

[PATCH v2] mm: memcg: yield cpu when we fail to charge pages

2020-09-08 Thread Julius Hemanth Pitti
ys/fs/cgroup/memory -o memory 4. mkdir /sys/fs/cgroup/memory/0 5. echo 40M > /sys/fs/cgroup/memory/0/memory.limit_in_bytes 6. echo $$ > /sys/fs/cgroup/memory/0/tasks 7. stress -m 5 --vm-bytes 10M --vm-hang 0 Signed-off-by: Julius Hemanth Pitti Acked-by: Roman Gushchin --- Changes in v2: - Add

Re: [PATCH] mm: memcg: yield cpu when we fail to charge pages

2020-09-08 Thread Julius Hemanth Pitti (jpitti)
On Tue, 2020-09-08 at 12:21 -0700, Roman Gushchin wrote: > On Tue, Sep 08, 2020 at 11:50:51AM -0700, Julius Hemanth Pitti wrote: > > For non root CG, in try_charge(), we keep trying > > to charge until we succeed. On non-preemptive > > kernel, when we are OOM, this resul

[PATCH] mm: memcg: yield cpu when we fail to charge pages

2020-09-08 Thread Julius Hemanth Pitti
ys/fs/cgroup/memory -o memory 4. mkdir /sys/fs/cgroup/memory/0 5. echo 40M > /sys/fs/cgroup/memory/0/memory.limit_in_bytes 6. echo $$ > /sys/fs/cgroup/memory/0/tasks 7. stress -m 5 --vm-bytes 10M --vm-hang 0 Signed-off-by: Julius Hemanth Pitti --- mm/memcontrol.c | 2 ++ 1 file changed, 2

[PATCH] proc/sysctl: make protected_* world readable

2020-07-09 Thread Julius Hemanth Pitti
otected_symlinks files, setting all other protected_* files to 644 to keep consistency. Fixes: 800179c9b8a1 ("fs: add link restrictions") Signed-off-by: Julius Hemanth Pitti --- kernel/sysctl.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/sysc

[PATCH] staging: wfx: make methods 'wfx_get_ps_timeout' and 'wfx_update_pm' static

2020-06-09 Thread Julius Hemanth Pitti
declared. Should it be static? Signed-off-by: Julius Hemanth Pitti --- drivers/staging/wfx/sta.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index 12e8a5b..d855d87 100644 --- a/drivers/staging/wfx/sta.c +++ b/drive

[PATCH v2] staging: rtl8192u: ieee80211: ieee80211_wx: add space before open brace

2019-03-27 Thread Julius Hemanth Pitti
Fix checkpatch error "ERROR: space required before the open brace '{'" in ieee80211_wx.c. Signed-off-by: Julius Hemanth Pitti --- Changes in v2: - Corrected commit message typo drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 12 +--- 1 file changed, 5 insert

Re: [PATCH] staging: rtl8192u: ieee80211: ieee80211_wx: add space before open brace

2019-03-27 Thread Julius Hemanth P
On Wed, Mar 27, 2019 at 02:53:35PM -0700, Julius Hemanth Pitti wrote: > Fix checkpatch error "ERROR: that open brace { should be on > the previous line" in ieee80211_wx.c. > > Signed-off-by: Julius Hemanth Pitti > --- > drivers/staging/rtl8192u/ieee80211/ieee80211

[PATCH] staging: rtl8192u: ieee80211: ieee80211_wx: add space before open brace

2019-03-27 Thread Julius Hemanth Pitti
Fix checkpatch error "ERROR: that open brace { should be on the previous line" in ieee80211_wx.c. Signed-off-by: Julius Hemanth Pitti --- drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/stagin

[PATCH v2] net: qcom/emac: Allocate buffers from local node

2018-05-17 Thread Hemanth Puranik
Currently we use non-NUMA aware allocation for TPD and RRD buffers, this patch modifies to use NUMA friendly allocation. Signed-off-by: Hemanth Puranik --- Change since v1: - Addressed comments related to ordering drivers/net/ethernet/qualcomm/emac/emac-mac.c | 6 -- 1 file changed, 4

[PATCH] net: qcom/emac: Allocate buffers from local node

2018-05-17 Thread Hemanth Puranik
Currently we use non-NUMA aware allocation for TPD and RRD buffers, this patch modifies to use NUMA friendly allocation. Signed-off-by: Hemanth Puranik --- drivers/net/ethernet/qualcomm/emac/emac-mac.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net

[PATCH] net: qcom/emac: Encapsulate sgmii ops under one structure

2018-05-15 Thread Hemanth Puranik
This patch introduces ops structure for sgmii, This by ensures that we do not need dummy functions in case of emulation platforms. Signed-off-by: Hemanth Puranik --- drivers/net/ethernet/qualcomm/emac/emac-mac.c | 5 +- drivers/net/ethernet/qualcomm/emac/emac-sgmii.c | 128

[PATCH] net: qcom/emac: Use proper free methods during TX

2018-03-05 Thread Hemanth Puranik
while freeing the buffers. Signed-off-by: Hemanth Puranik --- drivers/net/ethernet/qualcomm/emac/emac-mac.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/drivers/net/ethernet/qualcomm/emac/emac-mac.c b/drivers/net/ethernet/qualcomm/emac/emac-mac.c

[PATCH] net: qcom/emac: Change the order of mac up and sgmii open

2017-12-17 Thread Hemanth Puranik
for delay based tasks to be done in sgmii open which will result in NETDEV watchdog - As per the documentation the order of init should be sgmii, mac, rings and DMA Signed-off-by: Hemanth Puranik --- drivers/net/ethernet/qualcomm/emac/emac.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH] net: qcom/emac: Reduce timeout for mdio read/write

2017-12-15 Thread Hemanth Puranik
Currently mdio read/write takes around ~115us as the timeout between status check is set to 100us. By reducing the timeout to 1us mdio read/write takes ~15us to complete. This improves the link up event response. Signed-off-by: Hemanth Puranik --- drivers/net/ethernet/qualcomm/emac/emac-phy.c

RE: [RFC] watchdog: iTCO_wdt: Introduce panic_on_timeout module param

2017-09-19 Thread Julius Hemanth Pitti -X (jpitti - MONTA VISTA SOFTWARE INC at Cisco)
ptember 18, 2017 7:52 PM To: Julius Hemanth Pitti -X (jpitti - MONTA VISTA SOFTWARE INC at Cisco) Cc: Wim Van Sebroeck ; Guenter Roeck ; xe-ker...@external.cisco.com; jpi...@mvista.com; linux-watch...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [RFC] watchdog: iTCO_wdt:

[RFC] watchdog: iTCO_wdt: Introduce panic_on_timeout module param

2016-12-05 Thread Julius Hemanth Pitti
Cc: xe-ker...@external.cisco.com Cc: jpi...@mvista.com Signed-off-by: Julius Hemanth Pitti --- drivers/watchdog/iTCO_wdt.c | 61 + 1 file changed, 61 insertions(+) diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c index 06fcb6c..23dd

Any way to update DMI tables programatically

2007-07-09 Thread Hemanth
Is there any API/function in Redhat Linux to update specific entries in the DMI table ? Either a driver and app combination ? Any existing features in the Linux kernel to do this ? Any existing tools ? (execuses If I posted here wrongly, but I am sure people out there would help me)