[PATCH v2] Fix zero-copy path in the 9p virtio transport

2018-07-16 Thread Chirantan Ekbote
-by: Chirantan Ekbote Reviewed-by: Greg Kurz Tested-by: Greg Kurz --- net/9p/trans_virtio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index 05006cbb3361..65761381c58f 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c @@ -406,6

[PATCH v2] Fix zero-copy path in the 9p virtio transport

2018-07-16 Thread Chirantan Ekbote
-by: Chirantan Ekbote Reviewed-by: Greg Kurz Tested-by: Greg Kurz --- net/9p/trans_virtio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index 05006cbb3361..65761381c58f 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c @@ -406,6

Re: A desktop environment[1] kernel wishlist

2015-05-07 Thread Chirantan Ekbote
On Thu, May 7, 2015 at 10:03 AM, One Thousand Gnomes wrote: >> You are, of course, correct. Ultimately the only requirement we have >> is that there exists a way for userspace to determine if the system >> woke up because of a user-triggered event. The actual mechanism by > > No. That is

Re: A desktop environment[1] kernel wishlist

2015-05-07 Thread Chirantan Ekbote
On Thu, May 7, 2015 at 10:03 AM, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: You are, of course, correct. Ultimately the only requirement we have is that there exists a way for userspace to determine if the system woke up because of a user-triggered event. The actual mechanism by

Re: A desktop environment[1] kernel wishlist

2015-05-06 Thread Chirantan Ekbote
On Tue, May 5, 2015 at 4:47 PM, Rafael J. Wysocki wrote: > On Monday, May 04, 2015 04:30:00 PM Chirantan Ekbote wrote: > > > >> Ok so now I can talk about how lucid sleep fits into all of this. The >> power manager only considers a suspend attempt successful if the writ

Re: A desktop environment[1] kernel wishlist

2015-05-06 Thread Chirantan Ekbote
On Tue, May 5, 2015 at 4:47 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Monday, May 04, 2015 04:30:00 PM Chirantan Ekbote wrote: snip Ok so now I can talk about how lucid sleep fits into all of this. The power manager only considers a suspend attempt successful if the write to /sys

Re: A desktop environment[1] kernel wishlist

2015-05-05 Thread Chirantan Ekbote
On Tue, May 5, 2015 at 12:35 PM, Alan Stern wrote: > On Tue, 5 May 2015, Chirantan Ekbote wrote: > >> This is our plan for the next version (see my email earlier in this >> thread). Keeping a hybrid power state with hacks in the drivers isn't >> really maintainable, sc

Re: A desktop environment[1] kernel wishlist

2015-05-05 Thread Chirantan Ekbote
On Tue, May 5, 2015 at 3:46 AM, Bastien Nocera wrote: > On Mon, 2015-05-04 at 16:30 -0700, Chirantan Ekbote wrote: >> > >> In the interest of brevity, I didn't go into the design of suspend / >> resume in userspace in my last email but it seems like there's no way >

Re: A desktop environment[1] kernel wishlist

2015-05-05 Thread Chirantan Ekbote
On Tue, May 5, 2015 at 7:39 AM, Alan Stern wrote: > On Mon, 4 May 2015, Chirantan Ekbote wrote: > >> Ok so now I can talk about how lucid sleep fits into all of this. The >> power manager only considers a suspend attempt successful if the write >> to /sys/po

Re: A desktop environment[1] kernel wishlist

2015-05-05 Thread Chirantan Ekbote
On Tue, May 5, 2015 at 3:46 AM, Bastien Nocera had...@hadess.net wrote: On Mon, 2015-05-04 at 16:30 -0700, Chirantan Ekbote wrote: snip In the interest of brevity, I didn't go into the design of suspend / resume in userspace in my last email but it seems like there's no way around

Re: A desktop environment[1] kernel wishlist

2015-05-05 Thread Chirantan Ekbote
On Tue, May 5, 2015 at 12:35 PM, Alan Stern st...@rowland.harvard.edu wrote: On Tue, 5 May 2015, Chirantan Ekbote wrote: This is our plan for the next version (see my email earlier in this thread). Keeping a hybrid power state with hacks in the drivers isn't really maintainable, scalable

Re: A desktop environment[1] kernel wishlist

2015-05-05 Thread Chirantan Ekbote
On Tue, May 5, 2015 at 7:39 AM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 4 May 2015, Chirantan Ekbote wrote: Ok so now I can talk about how lucid sleep fits into all of this. The power manager only considers a suspend attempt successful if the write to /sys/power/state

Re: A desktop environment[1] kernel wishlist

2015-05-04 Thread Chirantan Ekbote
On Mon, May 4, 2015 at 3:12 PM, Rafael J. Wysocki wrote: > On Thursday, April 30, 2015 11:54:51 AM Chirantan Ekbote wrote: >> On Thu, Apr 30, 2015 at 10:23 AM, Olof Johansson wrote: >> > Hi, >> > >> > On Thu, Apr 30, 2015 at 10:10 AM, John Stultz >> &

Re: A desktop environment[1] kernel wishlist

2015-05-04 Thread Chirantan Ekbote
On Mon, May 4, 2015 at 3:12 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Thursday, April 30, 2015 11:54:51 AM Chirantan Ekbote wrote: On Thu, Apr 30, 2015 at 10:23 AM, Olof Johansson o...@lixom.net wrote: Hi, On Thu, Apr 30, 2015 at 10:10 AM, John Stultz john.stu...@linaro.org

Re: A desktop environment[1] kernel wishlist

2015-04-30 Thread Chirantan Ekbote
On Thu, Apr 30, 2015 at 10:23 AM, Olof Johansson wrote: > Hi, > > On Thu, Apr 30, 2015 at 10:10 AM, John Stultz wrote: >> On Thu, Apr 30, 2015 at 9:25 AM, Bastien Nocera wrote: >>> On Tue, 2014-10-21 at 10:04 -0700, John Stultz wrote: On Tue, Oct 21, 2014 at 1:49 AM, Bastien Nocera

Re: A desktop environment[1] kernel wishlist

2015-04-30 Thread Chirantan Ekbote
On Thu, Apr 30, 2015 at 10:23 AM, Olof Johansson o...@lixom.net wrote: Hi, On Thu, Apr 30, 2015 at 10:10 AM, John Stultz john.stu...@linaro.org wrote: On Thu, Apr 30, 2015 at 9:25 AM, Bastien Nocera had...@hadess.net wrote: On Tue, 2014-10-21 at 10:04 -0700, John Stultz wrote: On Tue, Oct

Re: [PATCH] PM / sleep: add configurable delay for pm_test

2014-09-04 Thread Chirantan Ekbote
On Thu, Sep 4, 2014 at 10:54 AM, Brian Norris wrote: > On Thu, Sep 04, 2014 at 09:14:12AM +0200, Pavel Machek wrote: >> > When CONFIG_PM_DEBUG=y, we provide a sysfs file (/sys/power/pm_test) for >> > selecting one of a few suspend test modes, where rather than entering a >> > full suspend state,

Re: [PATCH] PM / sleep: add configurable delay for pm_test

2014-09-04 Thread Chirantan Ekbote
On Thu, Sep 4, 2014 at 10:54 AM, Brian Norris computersforpe...@gmail.com wrote: On Thu, Sep 04, 2014 at 09:14:12AM +0200, Pavel Machek wrote: When CONFIG_PM_DEBUG=y, we provide a sysfs file (/sys/power/pm_test) for selecting one of a few suspend test modes, where rather than entering a

[PATCH] ARM: mm: Speed up page list initialization during boot

2014-03-21 Thread Chirantan Ekbote
at a time, we can take advantage of the fact that we know that all the pages are available and free up big blocks of pages at a time instead. Signed-off-by: Chirantan Ekbote --- arch/arm/mm/init.c | 19 +-- include/linux/gfp.h | 1 + mm/internal.h | 1 - 3 files changed, 18

[PATCH] ARM: mm: Speed up page list initialization during boot

2014-03-21 Thread Chirantan Ekbote
at a time, we can take advantage of the fact that we know that all the pages are available and free up big blocks of pages at a time instead. Signed-off-by: Chirantan Ekbote chiran...@chromium.org --- arch/arm/mm/init.c | 19 +-- include/linux/gfp.h | 1 + mm/internal.h | 1