Re: [PATCH] zswap: Zero-filled pages handling

2017-02-25 Thread Sarbojit Ganguly
On 25 February 2017 at 20:12, Srividya Desireddy wrote: > From: Srividya Desireddy > Date: Thu, 23 Feb 2017 15:04:06 +0530 > Subject: [PATCH] zswap: Zero-filled pages handling > > Zswap is a cache which compresses the pages that are being swapped out > and stores them into a dynamically allocated

[PATCH v3] arm: Adding support for atomic half word exchange

2015-10-09 Thread Sarbojit Ganguly
ild breaks. Signed-off-by: Sarbojit Ganguly --- arch/arm/include/asm/cmpxchg.h | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/include/asm/cmpxchg.h b/arch/arm/include/asm/cmpxchg.h index 916a274..97882f9 100644 --- a/arch/arm/include/asm/cmpxchg.h +++ b/arch/arm/i

Re: Re: Re: Re: Re: Re: [PATCH v3] arm: Adding support for atomic half word exchange

2015-10-08 Thread Sarbojit Ganguly
(GMT+05:30) Title : Re: Re: Re: Re: Re: [PATCH v3] arm: Adding support for atomic half word exchange On Wed, Oct 07, 2015 at 02:36:41PM +, Sarbojit Ganguly wrote: > Please have a look at this patch, please let me know if any modification > is required. > I have also submitted the

Re: Re: Re: Re: Re: [PATCH v3] arm: Adding support for atomic half word exchange

2015-10-07 Thread Sarbojit Ganguly
added a guard code to prevent build breaks. Signed-off-by: Sarbojit Ganguly --- arch/arm/include/asm/cmpxchg.h | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/include/asm/cmpxchg.h b/arch/arm/include/asm/cmpxchg.h index 916a274..97882f9 100644 --- a/arch/arm/inclu

Re: Re: Re: Re: [PATCH v3] arm: Adding support for atomic half word exchange

2015-10-06 Thread Sarbojit Ganguly
un and issues were taken care of. Since support for half-word atomic exchange was not there and Qspinlock on ARM requires it, modified __xchg() to add support for that as well. ARMv6 and lower does not support ldrex{b,h} so, added a guard code to prevent build breaks. Signed-off-by: Sarbojit G

Re: Re: Re: [PATCH v2] arm: Adding support for atomic half word exchange

2015-10-05 Thread Sarbojit Ganguly
:30) Title : Re: Re: [PATCH v2] arm: Adding support for atomic half word exchange On Mon, Oct 05, 2015 at 01:10:53PM +, Sarbojit Ganguly wrote: > My sincere apologies for the format issue. This was due to the e-mail editor > which reformats the text. > I am reposting the patch, plea

Re: Re: [PATCH v2] arm: Adding support for atomic half word exchange

2015-10-05 Thread Sarbojit Ganguly
off-by: Sarbojit Ganguly --- arch/arm/include/asm/cmpxchg.h | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/include/asm/cmpxchg.h b/arch/arm/include/asm/cmpxchg.h index 916a274..a53cbeb 100644 --- a/arch/arm/include/asm/cmpxchg.h +++ b/arch/arm/include/asm/cmpxch

[PATCH v2] arm: Adding support for atomic half word exchange

2015-10-04 Thread Sarbojit Ganguly
ues were taken care of. Since support for half-word atomic exchange was not there and Qspinlock on ARM requires it, modified __xchg() to add support for that as well. ARMv6 and lower does not support ldrex{b,h} so, added a guard code to prevent build breaks. Signed-off-by: Sarbojit Ganguly --- arch/

[PATCH v2] arm: Adding support for atomic half word exchange

2015-09-03 Thread Sarbojit Ganguly
Hello, This is the second version of the patch previously posted. v1-->v2 : Extended the guard code to cover the byte exchange case as well following opinion of Will Deacon. Checkpatch has been run and issues were taken care of. From: Sarbojit Ganguly Date: Thu, 3 Sep 2015 13:00:27 +0

Re: Re: Re: [PATCH] arm: Adding support for atomic half word exchange

2015-08-20 Thread Sarbojit Ganguly
l() requires an atomic exchange on a half word, >> here is a small modification to __xchg() code to support the exchange. >> ARMv6 and lower does not have support for LDREXH, so we need to make >> sure things do not break when we're compiling on ARMv6. >> >>

Re: Re: Re: [PATCH] arm: Adding support for atomic half word exchange

2015-08-20 Thread Sarbojit Ganguly
tomic exchange on a half word, here is a small modification to __xchg() code to support the exchange. ARMv6 and lower does not have support for LDREXH, so we need to make sure things do not break when we're compiling on ARMv6. Signed-off-by: Sarbojit Ganguly --- arch/arm/include/asm/cmpx

Re: Re: [PATCH] arm: Adding support for atomic half word exchange

2015-08-19 Thread Sarbojit Ganguly
is a small modification to __xchg() code to support the exchange. ARMv6 and lower does not have support for LDREXH, so we need to make sure things do not break when we're compiling on ARMv6. Signed-off-by: Sarbojit Ganguly --- arch/arm/include/asm/cmpxchg.h | 18 ++ 1 f

[PATCH] arm: Adding support for atomic half word exchange

2015-08-18 Thread Sarbojit Ganguly
gs do not break when we're compiling on ARMv6. Signed-off-by: Sarbojit Ganguly --- arch/arm/include/asm/cmpxchg.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/include/asm/cmpxchg.h b/arch/arm/include/asm/cmpxchg.h index 1692a05..547101d 100644 ---

[PATCH] arm: Adding support for atomic half word exchange

2015-07-10 Thread Sarbojit Ganguly
gs do not break when we're compiling on ARMv6. Signed-off-by: Sarbojit Ganguly --- arch/arm/include/asm/cmpxchg.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/include/asm/cmpxchg.h b/arch/arm/include/asm/cmpxchg.h index 1692a05..547101d 100644 --- a/arch/a

Re: Re: [RFC] arm: Add for atomic half word exchange

2015-07-03 Thread Sarbojit Ganguly
ove. I will post the v2 soon. --- Original Message --- Sender : Arnd Bergmann Date : Jun 05, 2015 18:03 (GMT+05:30) Title : Re: [RFC] arm: Add for atomic half word exchange On Friday 05 June 2015 01:17:13 Sarbojit Ganguly wrote: > Since the compilation is also a success for CONFIG_CPU_V

Re: Re: Re: [RFC] arm: Add for atomic half word exchange

2015-06-04 Thread Sarbojit Ganguly
Since the compilation is also a success for CONFIG_CPU_V6 with the patch, I think we're good to go. --- Original Message --- Sender : Sarbojit Ganguly Technical Lead/SRI-Bangalore-AP Systems 1/Samsung Electronics Date : Jun 02, 2015 20:11 (GMT+09:00) Title : Re: Re: [RFC] arm: Ad

Re: Re: [RFC] arm: Add for atomic half word exchange

2015-06-02 Thread Sarbojit Ganguly
: Arnd Bergmann Date : Jun 02, 2015 19:49 (GMT+09:00) Title : Re: [RFC] arm: Add for atomic half word exchange On Tuesday 02 June 2015 06:21:43 Sarbojit Ganguly wrote: > Hello Raghavendra, > > That is exactly I had done albeit from menuconfig. Basically the whole point > was to make s

Re: Re: [RFC] arm: Add for atomic half word exchange

2015-06-01 Thread Sarbojit Ganguly
: Raghavendra K T Date : Jun 02, 2015 15:11 (GMT+09:00) Title : Re: [RFC] arm: Add for atomic half word exchange On 06/02/2015 11:19 AM, Sarbojit Ganguly wrote: > I made the CONFIG_ARCH_MULTI_V6=y and > CONFIG_CPU_V6K=y > CONFIG_CPU_32v6=y > CONFIG_CPU_32v6K=y > > and compiled 4.

Re: Re: [RFC] arm: Add for atomic half word exchange

2015-06-01 Thread Sarbojit Ganguly
: Add for atomic half word exchange On Tuesday 19 May 2015 09:39:33 Sarbojit Ganguly wrote: > Since 16 bit half word exchange was not there and MCS based qspinlock by > Waiman's xchg_tail() requires an atomic exchange on a half word, > here is a small modification to __xchg()

Re: Re: [RFC] arm: Add for atomic half word exchange

2015-05-19 Thread Sarbojit Ganguly
Tue, May 19, 2015 at 11:20:13AM +, Sarbojit Ganguly wrote: > On Tuesday 19 May 2015 09:39:33 Sarbojit Ganguly wrote: > > Since 16 bit half word exchange was not there and MCS based > > qspinlock by Waiman's xchg_tail() requires an atomic exchange on a > > half word, he

[RFC] arm: Add for atomic half word exchange

2015-05-19 Thread Sarbojit Ganguly
: Re: [RFC] arm: Add for atomic half word exchange On Tuesday 19 May 2015 09:39:33 Sarbojit Ganguly wrote: > Since 16 bit half word exchange was not there and MCS based qspinlock by > Waiman's xchg_tail() requires an atomic exchange on a half word, > here is a small modification to

[RFC] arm: Add for atomic half word exchange

2015-05-19 Thread Sarbojit Ganguly
Since 16 bit half word exchange was not there and MCS based qspinlock by Waiman's xchg_tail() requires an atomic exchange on a half word, here is a small modification to __xchg() code. --- /linux.trees.git/tip/arch/arm/include/asm/cmpxchg.h 2015-05-11 23:36:06.942583615 +0530 +++ arch/a

Re: Kernel Oops while disconnecting USB peripheral (always)

2012-08-07 Thread Sarbojit Ganguly
Sorry guys I was away due to personal emergency, however now I am back and will check the reply ASAP. On 28 July 2012 21:49, Alan Stern wrote: > On Sat, 28 Jul 2012, Daniel Mack wrote: > >> Hmm, interesting. Thanks for sharing this. I personally never saw this >> bug kicking in, but if I understa

Re: Kernel Oops while disconnecting USB peripheral (always)

2012-07-23 Thread Sarbojit Ganguly
On 23 July 2012 20:24, Daniel Mack wrote: > On 23.07.2012 16:47, Alan Stern wrote: >> On Mon, 23 Jul 2012, Sarbojit Ganguly wrote: >>> That is why I provided two stacks, >>> >>> 1st one is when I tried to remove the USB hub (which connects a webcam >>>

Re: Kernel Oops while disconnecting USB peripheral (always)

2012-07-23 Thread Sarbojit Ganguly
On 23 July 2012 20:17, Alan Stern wrote: > On Mon, 23 Jul 2012, Sarbojit Ganguly wrote: > >> Hello Daniel, >> >> That is why I provided two stacks, >> >> 1st one is when I tried to remove the USB hub (which connects a webcam >> + microphone) >>