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

2017-07-02 Thread Seth Jennings
On Sun, Jul 2, 2017 at 9:19 AM, Srividya Desireddy wrote: > From: Srividya Desireddy > Date: Sun, 2 Jul 2017 19:15:37 +0530 > Subject: [PATCH v2] zswap: Zero-filled pages handling > > Zswap is a cache which compresses the pages that are being

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

2017-07-02 Thread Seth Jennings
On Sun, Jul 2, 2017 at 9:19 AM, Srividya Desireddy wrote: > From: Srividya Desireddy > Date: Sun, 2 Jul 2017 19:15:37 +0530 > Subject: [PATCH v2] zswap: Zero-filled pages handling > > Zswap is a cache which compresses the pages that are being swapped out > and stores them into a dynamically

Re: [RFC PATCH v1 1/1] mm: zswap - Add crypto acomp/scomp framework support

2017-02-14 Thread Seth Jennings
On Tue, Feb 14, 2017 at 9:40 AM, Mahipal Challa wrote: > This adds the support for kernel's crypto new acomp/scomp framework > to zswap. > > Signed-off-by: Mahipal Challa > Signed-off-by: Vishnu Nair > --- >

Re: [RFC PATCH v1 1/1] mm: zswap - Add crypto acomp/scomp framework support

2017-02-14 Thread Seth Jennings
On Tue, Feb 14, 2017 at 9:40 AM, Mahipal Challa wrote: > This adds the support for kernel's crypto new acomp/scomp framework > to zswap. > > Signed-off-by: Mahipal Challa > Signed-off-by: Vishnu Nair > --- > mm/zswap.c | 129 > +++-- > 1

Re: [PATCHv2] MAINTAINERS: add Dan Streetman to zswap maintainers

2017-01-24 Thread Seth Jennings
On Tue, Jan 24, 2017 at 3:22 PM, Dan Streetman <ddstr...@ieee.org> wrote: > > Add myself as zswap maintainer. > > Cc: Seth Jennings <sjenn...@redhat.com> > Signed-off-by: Dan Streetman <ddstr...@ieee.org> Acked-by: Seth Jennings <sjenn...@redhat.com> Very

Re: [PATCHv2] MAINTAINERS: add Dan Streetman to zswap maintainers

2017-01-24 Thread Seth Jennings
On Tue, Jan 24, 2017 at 3:22 PM, Dan Streetman wrote: > > Add myself as zswap maintainer. > > Cc: Seth Jennings > Signed-off-by: Dan Streetman Acked-by: Seth Jennings Very yes to this. I've had almost no kernel time in my new position :( Dan, if you wanted to add yours

Re: [PATCH v2] z3fold: the 3-fold allocator for compressed pages

2016-04-25 Thread Seth Jennings
On Mon, Apr 25, 2016 at 2:28 AM, Vlastimil Babka wrote: > On 04/22/2016 01:22 AM, Andrew Morton wrote: >> >> On Tue, 19 Apr 2016 11:48:45 +0200 Vitaly Wool >> wrote: >> >>> This patch introduces z3fold, a special purpose allocator for storing >>> compressed

Re: [PATCH v2] z3fold: the 3-fold allocator for compressed pages

2016-04-25 Thread Seth Jennings
On Mon, Apr 25, 2016 at 2:28 AM, Vlastimil Babka wrote: > On 04/22/2016 01:22 AM, Andrew Morton wrote: >> >> On Tue, 19 Apr 2016 11:48:45 +0200 Vitaly Wool >> wrote: >> >>> This patch introduces z3fold, a special purpose allocator for storing >>> compressed pages. It is designed to store up to

Re: [PATCH] z3fold: the 3-fold allocator for compressed pages

2016-04-14 Thread Seth Jennings
On Thu, Apr 14, 2016 at 12:45 PM, Vitaly Wool <vitalyw...@gmail.com> wrote: > On Thu, Apr 14, 2016 at 5:53 PM, Seth Jennings <sjenn...@redhat.com> wrote: >> On Thu, Apr 14, 2016 at 4:06 AM, Vitaly Wool <vitalyw...@gmail.com> wrote: >>> >>> >>>

Re: [PATCH] z3fold: the 3-fold allocator for compressed pages

2016-04-14 Thread Seth Jennings
On Thu, Apr 14, 2016 at 12:45 PM, Vitaly Wool wrote: > On Thu, Apr 14, 2016 at 5:53 PM, Seth Jennings wrote: >> On Thu, Apr 14, 2016 at 4:06 AM, Vitaly Wool wrote: >>> >>> >>> On Thu, Apr 14, 2016 at 10:48 AM, Vlastimil Babka wrote: >>>>

Re: [PATCH] z3fold: the 3-fold allocator for compressed pages

2016-04-14 Thread Seth Jennings
On Thu, Apr 14, 2016 at 4:06 AM, Vitaly Wool wrote: > > > On Thu, Apr 14, 2016 at 10:48 AM, Vlastimil Babka wrote: >> >> On 04/14/2016 10:05 AM, Vitaly Wool wrote: >>> >>> This patch introduces z3fold, a special purpose allocator for storing >>> compressed

Re: [PATCH] z3fold: the 3-fold allocator for compressed pages

2016-04-14 Thread Seth Jennings
On Thu, Apr 14, 2016 at 4:06 AM, Vitaly Wool wrote: > > > On Thu, Apr 14, 2016 at 10:48 AM, Vlastimil Babka wrote: >> >> On 04/14/2016 10:05 AM, Vitaly Wool wrote: >>> >>> This patch introduces z3fold, a special purpose allocator for storing >>> compressed pages. It is designed to store up to

Re: [PATCH] livepatch: Update maintainers

2016-03-20 Thread Seth Jennings
platform/x86/hp_accel.c > > LIVE PATCHING > M: Josh Poimboeuf <jpoim...@redhat.com> > -M: Seth Jennings <sjenn...@redhat.com> > +M: Jessica Yu <j...@redhat.com> > M: Jiri Kosina <ji...@kernel.org> > -M: Vojtech Pavlik <vojt...@suse.com

Re: [PATCH] livepatch: Update maintainers

2016-03-20 Thread Seth Jennings
NERS | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 860e306..e04e0a5 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -6583,9 +6583,10 @@ F: drivers/platform/x86/hp_accel.c > > LIVE PATCHING >

[PATCH] MAINTAINERS: update Seth email

2016-01-29 Thread Seth Jennings
Update/unify my contact info. The old email address will no longer work soon. Signed-off-by: Seth Jennings --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 30aca4a..9778aab 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH] MAINTAINERS: update Seth email

2016-01-29 Thread Seth Jennings
Update/unify my contact info. The old email address will no longer work soon. Signed-off-by: Seth Jennings <sjenn...@redhat.com> --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 30aca4a..9778aab 100644 --- a/MAINT

[PATCH 2/3] drivers: memory: rename remove_memory_block() to remove_memory_section()

2015-12-02 Thread Seth Jennings
The function removes a section, not a block. Rename to reflect actual functionality. Signed-off-by: Seth Jennings --- drivers/base/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/memory.c b/drivers/base/memory.c index ca2ce02..dd30744 100644

[PATCH 1/3] drivers: memory: clean up section counting

2015-12-02 Thread Seth Jennings
unt, but it is messy. This commit moves the increment out of the common init_memory_block() (called by both add_memory_block() and register_new_memory()) and adds it to register_new_memory(). Signed-off-by: Seth Jennings --- drivers/base/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[PATCH 3/3] drivers: memory: prohibit offlining of memory blocks with missing sections

2015-12-02 Thread Seth Jennings
Reported-by: Andrew Banman Signed-off-by: Seth Jennings --- drivers/base/memory.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/base/memory.c b/drivers/base/memory.c index dd30744..6d7b14c 100644 --- a/drivers/base/memory.c +++ b/drivers/base/memory.c @@ -303,6 +303,10 @@ static

[PATCH 1/3] drivers: memory: clean up section counting

2015-12-02 Thread Seth Jennings
unt, but it is messy. This commit moves the increment out of the common init_memory_block() (called by both add_memory_block() and register_new_memory()) and adds it to register_new_memory(). Signed-off-by: Seth Jennings <sjenni...@variantweb.net> --- drivers/base/memory.c | 2 +- 1 file changed, 1

[PATCH 3/3] drivers: memory: prohibit offlining of memory blocks with missing sections

2015-12-02 Thread Seth Jennings
Reported-by: Andrew Banman <aban...@sgi.com> Signed-off-by: Seth Jennings <sjenni...@variantweb.net> --- drivers/base/memory.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/base/memory.c b/drivers/base/memory.c index dd30744..6d7b14c 100644 --- a/drivers/base/memory.c +

[PATCH 2/3] drivers: memory: rename remove_memory_block() to remove_memory_section()

2015-12-02 Thread Seth Jennings
The function removes a section, not a block. Rename to reflect actual functionality. Signed-off-by: Seth Jennings <sjenni...@variantweb.net> --- drivers/base/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/memory.c b/drivers/base/memory.c

[PATCHv3] x86: mm: clean up probe_memory_block_size()

2015-11-30 Thread Seth Jennings
nexpected change in behavior. Signed-off-by: Seth Jennings --- arch/x86/mm/init_64.c | 24 ++-- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index ec081fe..31c41c5 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/

Re: [PATCHv2] x86: mm: clean up probe_memory_block_size()

2015-11-30 Thread Seth Jennings
On Fri, Nov 27, 2015 at 08:39:32AM +0100, Ingo Molnar wrote: > > * Seth Jennings wrote: > > > v2: > > remove local bz variable (Ingo) and debug message since, if > > the 2GB message doesn't print, there is only one possible > > block size. > > I'd not

[PATCHv3] x86: mm: clean up probe_memory_block_size()

2015-11-30 Thread Seth Jennings
nexpected change in behavior. Signed-off-by: Seth Jennings <sjenni...@variantweb.net> --- arch/x86/mm/init_64.c | 24 ++-- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index ec081fe..31c41c5 100644 --- a/arch/

Re: [PATCHv2] x86: mm: clean up probe_memory_block_size()

2015-11-30 Thread Seth Jennings
On Fri, Nov 27, 2015 at 08:39:32AM +0100, Ingo Molnar wrote: > > * Seth Jennings <sjenni...@variantweb.net> wrote: > > > v2: > > remove local bz variable (Ingo) and debug message since, if > > the 2GB message doesn't print, there is only one possible > > b

Re: [PATCH] x86: mm: clean up probe_memory_block_size()

2015-11-26 Thread Seth Jennings
On Thu, Nov 26, 2015 at 10:12:01AM +0100, Ingo Molnar wrote: > > * Seth Jennings wrote: > > > The cumulative effect of bdee237c and 982792c7 is some pretty convoluted > > code. This commit has no (intended) functional change; just seeks to > > simplify and make t

[PATCHv2] x86: mm: clean up probe_memory_block_size()

2015-11-26 Thread Seth Jennings
ad to unexpected change in behavior. Signed-off-by: Seth Jennings --- arch/x86/mm/init_64.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index ec081fe..b05df4f 100644 --- a/arch/x86/mm/init_64.c +

[PATCHv2] x86: mm: clean up probe_memory_block_size()

2015-11-26 Thread Seth Jennings
ad to unexpected change in behavior. Signed-off-by: Seth Jennings <sjenni...@variantweb.net> --- arch/x86/mm/init_64.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index ec081fe..b05df4f 100644 ---

Re: [PATCH] x86: mm: clean up probe_memory_block_size()

2015-11-26 Thread Seth Jennings
On Thu, Nov 26, 2015 at 10:12:01AM +0100, Ingo Molnar wrote: > > * Seth Jennings <sjenni...@variantweb.net> wrote: > > > The cumulative effect of bdee237c and 982792c7 is some pretty convoluted > > code. This commit has no (intended) functional change; just see

[PATCH] x86: mm: clean up probe_memory_block_size()

2015-11-24 Thread Seth Jennings
GB and < 64GB case return, so it was removed. This commit also adds code back for the UV case since it seemed to just go away without reason in bdee237c and might lead to unexpected change in behavior. Signed-off-by: Seth Jennings --- arch/x86/mm/init_64.c | 22 ++ 1

[PATCH] x86: mm: clean up probe_memory_block_size()

2015-11-24 Thread Seth Jennings
GB and < 64GB case return, so it was removed. This commit also adds code back for the UV case since it seemed to just go away without reason in bdee237c and might lead to unexpected change in behavior. Signed-off-by: Seth Jennings <sjenni...@variantweb.net> --- arch/x86/mm/init_64.c | 22 +++

Re: [PATCH v2] zbud: allow up to PAGE_SIZE allocations

2015-09-23 Thread Seth Jennings
On Wed, Sep 23, 2015 at 10:59:00PM +0200, Vitaly Wool wrote: > Okay, how about this? It's gotten smaller BTW :) > > zbud: allow up to PAGE_SIZE allocations > > Currently zbud is only capable of allocating not more than > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE. This is okay as > long as only

Re: [PATCH v2] zbud: allow up to PAGE_SIZE allocations

2015-09-23 Thread Seth Jennings
On Wed, Sep 23, 2015 at 09:54:02AM +0200, Vitaly Wool wrote: > On Wed, Sep 23, 2015 at 5:18 AM, Seth Jennings > wrote: > > On Tue, Sep 22, 2015 at 02:17:33PM +0200, Vitaly Wool wrote: > >> Currently zbud is only capable of allocating not more than > >> PAGE_SIZE -

Re: [PATCH v2] zbud: allow up to PAGE_SIZE allocations

2015-09-23 Thread Seth Jennings
On Wed, Sep 23, 2015 at 09:54:02AM +0200, Vitaly Wool wrote: > On Wed, Sep 23, 2015 at 5:18 AM, Seth Jennings <sjenni...@variantweb.net> > wrote: > > On Tue, Sep 22, 2015 at 02:17:33PM +0200, Vitaly Wool wrote: > >> Currently zbud is only capable of allocating n

Re: [PATCH v2] zbud: allow up to PAGE_SIZE allocations

2015-09-23 Thread Seth Jennings
On Wed, Sep 23, 2015 at 10:59:00PM +0200, Vitaly Wool wrote: > Okay, how about this? It's gotten smaller BTW :) > > zbud: allow up to PAGE_SIZE allocations > > Currently zbud is only capable of allocating not more than > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE. This is okay as > long as only

Re: [PATCH v2] zbud: allow up to PAGE_SIZE allocations

2015-09-22 Thread Seth Jennings
On Tue, Sep 22, 2015 at 02:17:33PM +0200, Vitaly Wool wrote: > Currently zbud is only capable of allocating not more than > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE. This is okay as > long as only zswap is using it, but other users of zbud may > (and likely will) want to allocate up to

Re: [PATCH v2] zbud: allow up to PAGE_SIZE allocations

2015-09-22 Thread Seth Jennings
On Tue, Sep 22, 2015 at 02:17:33PM +0200, Vitaly Wool wrote: > Currently zbud is only capable of allocating not more than > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE. This is okay as > long as only zswap is using it, but other users of zbud may > (and likely will) want to allocate up to

Re: [PATCH 1/3] zpool: add zpool_has_pool()

2015-08-06 Thread Seth Jennings
On Thu, Aug 06, 2015 at 04:50:23PM -0500, Seth Jennings wrote: > On Wed, Aug 05, 2015 at 03:06:59PM -0700, Andrew Morton wrote: > > On Wed, 5 Aug 2015 18:00:26 -0400 Dan Streetman wrote: > > > > > > > > > > If there's some reason why this can't happen, ca

Re: [PATCH 1/3] zpool: add zpool_has_pool()

2015-08-06 Thread Seth Jennings
On Wed, Aug 05, 2015 at 03:06:59PM -0700, Andrew Morton wrote: > On Wed, 5 Aug 2015 18:00:26 -0400 Dan Streetman wrote: > > > > > > > If there's some reason why this can't happen, can we please have a code > > > comment which reveals that reason? > > > > zpool_create_pool() should work if this

Re: [PATCH 1/3] zpool: add zpool_has_pool()

2015-08-06 Thread Seth Jennings
On Wed, Aug 05, 2015 at 03:06:59PM -0700, Andrew Morton wrote: On Wed, 5 Aug 2015 18:00:26 -0400 Dan Streetman ddstr...@ieee.org wrote: If there's some reason why this can't happen, can we please have a code comment which reveals that reason? zpool_create_pool() should work if

Re: [PATCH 1/3] zpool: add zpool_has_pool()

2015-08-06 Thread Seth Jennings
On Thu, Aug 06, 2015 at 04:50:23PM -0500, Seth Jennings wrote: On Wed, Aug 05, 2015 at 03:06:59PM -0700, Andrew Morton wrote: On Wed, 5 Aug 2015 18:00:26 -0400 Dan Streetman ddstr...@ieee.org wrote: If there's some reason why this can't happen, can we please have a code comment

[PATCH] sb_edac: fix TAD presence check for sbridge_mci_bind_devs()

2015-08-05 Thread Seth Jennings
:7f:0e.0 (POLLED) Signed-off-by: Seth Jennings --- drivers/edac/sb_edac.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index ca78311..91cf710 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c

[PATCH] sb_edac: fix TAD presence check for sbridge_mci_bind_devs()

2015-08-05 Thread Seth Jennings
:7f:0e.0 (POLLED) Signed-off-by: Seth Jennings sjenn...@redhat.com --- drivers/edac/sb_edac.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index ca78311..91cf710 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers

Re: [PATCH] zswap: dynamic pool creation

2015-06-18 Thread Seth Jennings
On Thu, Jun 11, 2015 at 01:51:45PM -0500, Seth Jennings wrote: > On Wed, Jun 10, 2015 at 04:54:24PM -0400, Dan Streetman wrote: > > On Thu, Jun 4, 2015 at 8:13 AM, Dan Streetman wrote: > > > On Thu, Jun 4, 2015 at 8:02 AM, Dan Streetman wrote: > > >> Add dy

Re: [PATCH] zswap: dynamic pool creation

2015-06-18 Thread Seth Jennings
On Wed, Jun 17, 2015 at 07:13:31PM -0400, Dan Streetman wrote: > On Wed, Jun 10, 2015 at 4:54 PM, Dan Streetman wrote: > > On Thu, Jun 4, 2015 at 8:13 AM, Dan Streetman wrote: > >> On Thu, Jun 4, 2015 at 8:02 AM, Dan Streetman wrote: > >>> Add dynamic creation of pools. Move the static crypto

Re: [PATCH] zswap: dynamic pool creation

2015-06-18 Thread Seth Jennings
On Wed, Jun 17, 2015 at 07:13:31PM -0400, Dan Streetman wrote: On Wed, Jun 10, 2015 at 4:54 PM, Dan Streetman ddstr...@ieee.org wrote: On Thu, Jun 4, 2015 at 8:13 AM, Dan Streetman ddstr...@ieee.org wrote: On Thu, Jun 4, 2015 at 8:02 AM, Dan Streetman ddstr...@ieee.org wrote: Add dynamic

Re: [PATCH] zswap: dynamic pool creation

2015-06-18 Thread Seth Jennings
On Thu, Jun 11, 2015 at 01:51:45PM -0500, Seth Jennings wrote: On Wed, Jun 10, 2015 at 04:54:24PM -0400, Dan Streetman wrote: On Thu, Jun 4, 2015 at 8:13 AM, Dan Streetman ddstr...@ieee.org wrote: On Thu, Jun 4, 2015 at 8:02 AM, Dan Streetman ddstr...@ieee.org wrote: Add dynamic creation

Re: [PATCH] zswap: dynamic pool creation

2015-06-11 Thread Seth Jennings
On Wed, Jun 10, 2015 at 04:54:24PM -0400, Dan Streetman wrote: > On Thu, Jun 4, 2015 at 8:13 AM, Dan Streetman wrote: > > On Thu, Jun 4, 2015 at 8:02 AM, Dan Streetman wrote: > >> Add dynamic creation of pools. Move the static crypto compression > >> per-cpu transforms into each pool. Add a

Re: [PATCH] zswap: dynamic pool creation

2015-06-11 Thread Seth Jennings
On Wed, Jun 10, 2015 at 04:54:24PM -0400, Dan Streetman wrote: On Thu, Jun 4, 2015 at 8:13 AM, Dan Streetman ddstr...@ieee.org wrote: On Thu, Jun 4, 2015 at 8:02 AM, Dan Streetman ddstr...@ieee.org wrote: Add dynamic creation of pools. Move the static crypto compression per-cpu transforms

Re: [PATCH 0/5] zswap: make params runtime changeable

2015-06-02 Thread Seth Jennings
On Tue, Jun 02, 2015 at 11:11:52AM -0400, Dan Streetman wrote: > This patch series allows setting all zswap params at runtime, instead > of only being settable at boot-time. > > The changes to zswap are rather large, due to the creation of zswap pools, > which contain both a compressor function

Re: [PATCH 3/5] zswap: runtime enable/disable

2015-06-02 Thread Seth Jennings
On Tue, Jun 02, 2015 at 11:11:55AM -0400, Dan Streetman wrote: > Change the "enabled" parameter to be configurable at runtime. Remove > the enabled check from init(), and move it to the frontswap store() > function; when enabled, pages will be stored, and when disabled, pages > won't be stored.

Re: [PATCH 3/5] zswap: runtime enable/disable

2015-06-02 Thread Seth Jennings
On Tue, Jun 02, 2015 at 11:11:55AM -0400, Dan Streetman wrote: Change the enabled parameter to be configurable at runtime. Remove the enabled check from init(), and move it to the frontswap store() function; when enabled, pages will be stored, and when disabled, pages won't be stored. I like

Re: [PATCH 0/5] zswap: make params runtime changeable

2015-06-02 Thread Seth Jennings
On Tue, Jun 02, 2015 at 11:11:52AM -0400, Dan Streetman wrote: This patch series allows setting all zswap params at runtime, instead of only being settable at boot-time. The changes to zswap are rather large, due to the creation of zswap pools, which contain both a compressor function as

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-10 Thread Seth Jennings
On Mon, Feb 09, 2015 at 11:31:18AM -0600, Josh Poimboeuf wrote: > Add a basic per-task consistency model. This is the foundation which > will eventually enable us to patch those ~10% of security patches which > change function prototypes and/or data semantics. > > When a patch is enabled,

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-10 Thread Seth Jennings
On Mon, Feb 09, 2015 at 11:31:18AM -0600, Josh Poimboeuf wrote: Add a basic per-task consistency model. This is the foundation which will eventually enable us to patch those ~10% of security patches which change function prototypes and/or data semantics. When a patch is enabled, livepatch

Re: [RFC PATCH 0/9] mm/zbud: support highmem pages

2015-01-27 Thread Seth Jennings
On Tue, Nov 04, 2014 at 10:33:43AM -0600, Seth Jennings wrote: > On Tue, Oct 14, 2014 at 08:59:19PM +0900, Heesub Shin wrote: > > zbud is a memory allocator for storing compressed data pages. It keeps > > two data objects of arbitrary size on a single page. This simple design &g

Re: [RFC PATCH 0/9] mm/zbud: support highmem pages

2015-01-27 Thread Seth Jennings
On Tue, Nov 04, 2014 at 10:33:43AM -0600, Seth Jennings wrote: On Tue, Oct 14, 2014 at 08:59:19PM +0900, Heesub Shin wrote: zbud is a memory allocator for storing compressed data pages. It keeps two data objects of arbitrary size on a single page. This simple design provides very

Re: [PATCH 1/2] livepatch: Revert "livepatch: enforce patch stacking semantics"

2015-01-21 Thread Seth Jennings
On Wed, Jan 21, 2015 at 03:06:38PM +0100, Jiri Kosina wrote: > On Wed, 21 Jan 2015, Li Bin wrote: > > > This reverts commit 83a90bb1345767f0cb96d242fd8b9db44b2b0e17. > > > > The method that only allowing the topmost patch on the stack to be > > enabled or disabled is unreasonable. Such as the

Re: [PATCH 1/2] livepatch: Revert livepatch: enforce patch stacking semantics

2015-01-21 Thread Seth Jennings
On Wed, Jan 21, 2015 at 03:06:38PM +0100, Jiri Kosina wrote: On Wed, 21 Jan 2015, Li Bin wrote: This reverts commit 83a90bb1345767f0cb96d242fd8b9db44b2b0e17. The method that only allowing the topmost patch on the stack to be enabled or disabled is unreasonable. Such as the following

Re: [PATCH v2] mm/zsmalloc: add statistics support

2015-01-12 Thread Seth Jennings
On Tue, Dec 23, 2014 at 11:40:45AM +0900, Minchan Kim wrote: > Hi Ganesh, > > On Tue, Dec 23, 2014 at 10:26:12AM +0800, Ganesh Mahendran wrote: > > Hello Minchan > > > > 2014-12-20 10:25 GMT+08:00 Minchan Kim : > > > Hey Ganesh, > > > > > > On Sat, Dec 20, 2014 at 09:43:34AM +0800, Ganesh

Re: [PATCH v2] mm/zsmalloc: add statistics support

2015-01-12 Thread Seth Jennings
On Tue, Dec 23, 2014 at 11:40:45AM +0900, Minchan Kim wrote: Hi Ganesh, On Tue, Dec 23, 2014 at 10:26:12AM +0800, Ganesh Mahendran wrote: Hello Minchan 2014-12-20 10:25 GMT+08:00 Minchan Kim minc...@kernel.org: Hey Ganesh, On Sat, Dec 20, 2014 at 09:43:34AM +0800, Ganesh

Re: [RFC 0/6] zsmalloc support compaction

2014-12-17 Thread Seth Jennings
On Tue, Dec 02, 2014 at 11:49:41AM +0900, Minchan Kim wrote: > Recently, there was issue about zsmalloc fragmentation and > I got a report from Juno that new fork failed although there > are plenty of free pages in the system. > His investigation revealed zram is one of the culprit to make > heavy

Re: [RFC 0/6] zsmalloc support compaction

2014-12-17 Thread Seth Jennings
On Tue, Dec 02, 2014 at 11:49:41AM +0900, Minchan Kim wrote: Recently, there was issue about zsmalloc fragmentation and I got a report from Juno that new fork failed although there are plenty of free pages in the system. His investigation revealed zram is one of the culprit to make heavy

Re: [PATCHv7 2/3] kernel: add support for live patching

2014-12-16 Thread Seth Jennings
On Wed, Dec 17, 2014 at 12:16:18AM +0530, Balbir Singh wrote: > On Tue, Dec 16, 2014 at 11:28 PM, Seth Jennings wrote: > > This commit introduces code for the live patching core. It implements > > an ftrace-based mechanism and kernel interface for doing live patching > >

Re: [PATCHv7 0/3] Kernel Live Patching

2014-12-16 Thread Seth Jennings
On Tue, Dec 16, 2014 at 11:45:12PM +0530, Balbir Singh wrote: > On Tue, Dec 16, 2014 at 11:28 PM, Seth Jennings wrote: > > > > Changelog: > > > > Thanks for all the feedback! > > > > Could you describe what this does to signing? I presume the patched

[PATCHv7 0/3] Kernel Live Patching

2014-12-16 Thread Seth Jennings
rg/cgit/linux/kernel/git/jirislaby/kgraft.git/ [3] https://etherpad.fr/p/LPC2014_LivePatching Seth Jennings (3): kernel: add TAINT_LIVEPATCH kernel: add support for live patching samples: add sample live patching module Documentation/ABI/testing/sysfs-kernel-livepatch | 44 ++ Docum

[PATCHv7 3/3] samples: add sample live patching module

2014-12-16 Thread Seth Jennings
Add a sample live patching module. Signed-off-by: Seth Jennings --- MAINTAINERS | 1 + samples/Kconfig | 7 +++ samples/Makefile | 2 +- samples/livepatch/Makefile | 1 + samples/livepatch/livepatch-sample.c | 87

[PATCHv7 1/3] kernel: add TAINT_LIVEPATCH

2014-12-16 Thread Seth Jennings
function in the backtrace. Signed-off-by: Seth Jennings --- Documentation/oops-tracing.txt | 2 ++ Documentation/sysctl/kernel.txt | 1 + include/linux/kernel.h | 1 + kernel/panic.c | 2 ++ 4 files changed, 6 insertions(+) diff --git a/Documentation/oops-tracing.txt b

[PATCHv7 2/3] kernel: add support for live patching

2014-12-16 Thread Seth Jennings
with the old version of the function can _not_ be safely applied in this version. Signed-off-by: Seth Jennings Signed-off-by: Josh Poimboeuf --- Documentation/ABI/testing/sysfs-kernel-livepatch | 44 ++ MAINTAINERS | 13 + arch/x86/Kconfig

[PATCHv7 2/3] kernel: add support for live patching

2014-12-16 Thread Seth Jennings
with the old version of the function can _not_ be safely applied in this version. Signed-off-by: Seth Jennings sjenn...@redhat.com Signed-off-by: Josh Poimboeuf jpoim...@redhat.com --- Documentation/ABI/testing/sysfs-kernel-livepatch | 44 ++ MAINTAINERS | 13 + arch

[PATCHv7 1/3] kernel: add TAINT_LIVEPATCH

2014-12-16 Thread Seth Jennings
function in the backtrace. Signed-off-by: Seth Jennings sjenn...@redhat.com --- Documentation/oops-tracing.txt | 2 ++ Documentation/sysctl/kernel.txt | 1 + include/linux/kernel.h | 1 + kernel/panic.c | 2 ++ 4 files changed, 6 insertions(+) diff --git a/Documentation

[PATCHv7 3/3] samples: add sample live patching module

2014-12-16 Thread Seth Jennings
Add a sample live patching module. Signed-off-by: Seth Jennings sjenn...@redhat.com --- MAINTAINERS | 1 + samples/Kconfig | 7 +++ samples/Makefile | 2 +- samples/livepatch/Makefile | 1 + samples/livepatch

[PATCHv7 0/3] Kernel Live Patching

2014-12-16 Thread Seth Jennings
/jirislaby/kgraft.git/ [3] https://etherpad.fr/p/LPC2014_LivePatching Seth Jennings (3): kernel: add TAINT_LIVEPATCH kernel: add support for live patching samples: add sample live patching module Documentation/ABI/testing/sysfs-kernel-livepatch | 44 ++ Documentation/oops-tracing.txt

Re: [PATCHv7 0/3] Kernel Live Patching

2014-12-16 Thread Seth Jennings
On Tue, Dec 16, 2014 at 11:45:12PM +0530, Balbir Singh wrote: On Tue, Dec 16, 2014 at 11:28 PM, Seth Jennings sjenn...@redhat.com wrote: Changelog: Thanks for all the feedback! Could you describe what this does to signing? I presume the patched module should cause a taint on module

Re: [PATCHv7 2/3] kernel: add support for live patching

2014-12-16 Thread Seth Jennings
On Wed, Dec 17, 2014 at 12:16:18AM +0530, Balbir Singh wrote: On Tue, Dec 16, 2014 at 11:28 PM, Seth Jennings sjenn...@redhat.com wrote: This commit introduces code for the live patching core. It implements an ftrace-based mechanism and kernel interface for doing live patching of kernel

[PATCHv5 0/3] Kernel Live Patching

2014-12-04 Thread Seth Jennings
p/kpatch [2] https://git.kernel.org/cgit/linux/kernel/git/jirislaby/kgraft.git/ [3] https://etherpad.fr/p/LPC2014_LivePatching Seth Jennings (3): kernel: add TAINT_LIVEPATCH kernel: add support for live patching samples: add sample live patching module Documentation/ABI/testing/sysfs

[PATCHv5 1/3] kernel: add TAINT_LIVEPATCH

2014-12-04 Thread Seth Jennings
function in the backtrace. Signed-off-by: Seth Jennings --- Documentation/oops-tracing.txt | 2 ++ Documentation/sysctl/kernel.txt | 1 + include/linux/kernel.h | 1 + kernel/panic.c | 2 ++ 4 files changed, 6 insertions(+) diff --git a/Documentation/oops-tracing.txt b

[PATCHv5 2/3] kernel: add support for live patching

2014-12-04 Thread Seth Jennings
with the old version of the function can _not_ be safely applied in this version. Signed-off-by: Seth Jennings --- Documentation/ABI/testing/sysfs-kernel-livepatch | 44 ++ MAINTAINERS | 13 + arch/x86/Kconfig | 3 + arch/x86

[PATCHv5 3/3] samples: add sample live patching module

2014-12-04 Thread Seth Jennings
Add a sample live patching module. Signed-off-by: Seth Jennings --- MAINTAINERS | 1 + samples/Kconfig | 7 +++ samples/Makefile | 2 +- samples/livepatch/Makefile | 1 + samples/livepatch/livepatch-sample.c | 87

[PATCHv5 3/3] samples: add sample live patching module

2014-12-04 Thread Seth Jennings
Add a sample live patching module. Signed-off-by: Seth Jennings sjenn...@redhat.com --- MAINTAINERS | 1 + samples/Kconfig | 7 +++ samples/Makefile | 2 +- samples/livepatch/Makefile | 1 + samples/livepatch

[PATCHv5 2/3] kernel: add support for live patching

2014-12-04 Thread Seth Jennings
with the old version of the function can _not_ be safely applied in this version. Signed-off-by: Seth Jennings sjenn...@redhat.com --- Documentation/ABI/testing/sysfs-kernel-livepatch | 44 ++ MAINTAINERS | 13 + arch/x86/Kconfig | 3

[PATCHv5 1/3] kernel: add TAINT_LIVEPATCH

2014-12-04 Thread Seth Jennings
function in the backtrace. Signed-off-by: Seth Jennings sjenn...@redhat.com --- Documentation/oops-tracing.txt | 2 ++ Documentation/sysctl/kernel.txt | 1 + include/linux/kernel.h | 1 + kernel/panic.c | 2 ++ 4 files changed, 6 insertions(+) diff --git a/Documentation

[PATCHv5 0/3] Kernel Live Patching

2014-12-04 Thread Seth Jennings
://git.kernel.org/cgit/linux/kernel/git/jirislaby/kgraft.git/ [3] https://etherpad.fr/p/LPC2014_LivePatching Seth Jennings (3): kernel: add TAINT_LIVEPATCH kernel: add support for live patching samples: add sample live patching module Documentation/ABI/testing/sysfs-kernel-livepatch | 44

Re: [PATCHv4 3/3] samples: add sample live patching module

2014-12-01 Thread Seth Jennings
On Thu, Nov 27, 2014 at 06:05:13PM +0100, Petr Mladek wrote: > On Tue 2014-11-25 11:15:09, Seth Jennings wrote: > > Add a sample live patching module. > > > > Signed-off-by: Seth Jennings > > --- > > MAINTAINERS | 1 + > > sa

Re: [PATCH 2/2] kernel: add support for live patching

2014-12-01 Thread Seth Jennings
On Sun, Nov 30, 2014 at 01:23:48PM +0100, Pavel Machek wrote: > On Thu 2014-11-06 16:51:02, Jiri Slaby wrote: > > On 11/06/2014, 03:39 PM, Seth Jennings wrote: > > > This commit introduces code for the live patching core. It implements > > > an ftrace-based mec

Re: [PATCH 2/2] kernel: add support for live patching

2014-12-01 Thread Seth Jennings
On Sun, Nov 30, 2014 at 01:23:48PM +0100, Pavel Machek wrote: On Thu 2014-11-06 16:51:02, Jiri Slaby wrote: On 11/06/2014, 03:39 PM, Seth Jennings wrote: This commit introduces code for the live patching core. It implements an ftrace-based mechanism and kernel interface for doing live

Re: [PATCHv4 3/3] samples: add sample live patching module

2014-12-01 Thread Seth Jennings
On Thu, Nov 27, 2014 at 06:05:13PM +0100, Petr Mladek wrote: On Tue 2014-11-25 11:15:09, Seth Jennings wrote: Add a sample live patching module. Signed-off-by: Seth Jennings sjenn...@redhat.com --- MAINTAINERS | 1 + samples/Kconfig

Re: [PATCHv4 0/3] Kernel Live Patching

2014-11-25 Thread Seth Jennings
On Tue, Nov 25, 2014 at 08:26:22PM +0100, Jiri Kosina wrote: > On Tue, 25 Nov 2014, Seth Jennings wrote: > > > Masami's IPMODIFY patch is heading for -next via your tree. Once it > > arrives, > > I'll rebase and make the change to set IPMODIFY. Do not pull this for -nex

[PATCHv4 1/3] kernel: add TAINT_LIVEPATCH

2014-11-25 Thread Seth Jennings
function in the backtrace. Signed-off-by: Seth Jennings --- Documentation/oops-tracing.txt | 2 ++ Documentation/sysctl/kernel.txt | 1 + include/linux/kernel.h | 1 + kernel/panic.c | 2 ++ 4 files changed, 6 insertions(+) diff --git a/Documentation/oops-tracing.txt b

[PATCHv4 2/3] kernel: add support for live patching

2014-11-25 Thread Seth Jennings
with the old version of the function can _not_ be safely applied in this version. Signed-off-by: Seth Jennings --- Documentation/ABI/testing/sysfs-kernel-livepatch | 44 ++ MAINTAINERS | 13 + arch/x86/Kconfig | 3 + arch/x86

[PATCHv4 3/3] samples: add sample live patching module

2014-11-25 Thread Seth Jennings
Add a sample live patching module. Signed-off-by: Seth Jennings --- MAINTAINERS | 1 + samples/Kconfig | 7 +++ samples/livepatch/Makefile | 1 + samples/livepatch/livepatch-sample.c | 87 4 files

[PATCHv4 0/3] Kernel Live Patching

2014-11-25 Thread Seth Jennings
eck. However, any function change that can not execute safely with the old version of the function can _not_ be safely applied for now. [1] https://github.com/dynup/kpatch [2] https://git.kernel.org/cgit/linux/kernel/git/jirislaby/kgraft.git/ [3] https://etherpad.fr/p/LPC2014_LivePatching Seth Jennings

[PATCHv4 3/3] samples: add sample live patching module

2014-11-25 Thread Seth Jennings
Add a sample live patching module. Signed-off-by: Seth Jennings sjenn...@redhat.com --- MAINTAINERS | 1 + samples/Kconfig | 7 +++ samples/livepatch/Makefile | 1 + samples/livepatch/livepatch-sample.c | 87

[PATCHv4 0/3] Kernel Live Patching

2014-11-25 Thread Seth Jennings
function change that can not execute safely with the old version of the function can _not_ be safely applied for now. [1] https://github.com/dynup/kpatch [2] https://git.kernel.org/cgit/linux/kernel/git/jirislaby/kgraft.git/ [3] https://etherpad.fr/p/LPC2014_LivePatching Seth Jennings (3

[PATCHv4 2/3] kernel: add support for live patching

2014-11-25 Thread Seth Jennings
with the old version of the function can _not_ be safely applied in this version. Signed-off-by: Seth Jennings sjenn...@redhat.com --- Documentation/ABI/testing/sysfs-kernel-livepatch | 44 ++ MAINTAINERS | 13 + arch/x86/Kconfig | 3

[PATCHv4 1/3] kernel: add TAINT_LIVEPATCH

2014-11-25 Thread Seth Jennings
function in the backtrace. Signed-off-by: Seth Jennings sjenn...@redhat.com --- Documentation/oops-tracing.txt | 2 ++ Documentation/sysctl/kernel.txt | 1 + include/linux/kernel.h | 1 + kernel/panic.c | 2 ++ 4 files changed, 6 insertions(+) diff --git a/Documentation

Re: [PATCHv4 0/3] Kernel Live Patching

2014-11-25 Thread Seth Jennings
On Tue, Nov 25, 2014 at 08:26:22PM +0100, Jiri Kosina wrote: On Tue, 25 Nov 2014, Seth Jennings wrote: Masami's IPMODIFY patch is heading for -next via your tree. Once it arrives, I'll rebase and make the change to set IPMODIFY. Do not pull this for -next yet. This version (v4

Re: [PATCHv3 2/3] kernel: add support for live patching

2014-11-21 Thread Seth Jennings
On Fri, Nov 21, 2014 at 06:35:47PM +0100, Jiri Slaby wrote: > On 11/21/2014, 05:40 PM, Seth Jennings wrote: > >>> --- /dev/null > >>> +++ b/arch/x86/include/asm/livepatch.h > >>> @@ -0,0 +1,37 @@ > ... > >>> +#ifndef _ASM_X86_LIVEPATCH_H >

Re: [PATCHv3 3/3] kernel: add sysfs documentation for live patching

2014-11-21 Thread Seth Jennings
On Fri, Nov 21, 2014 at 11:49:46AM +0900, Masami Hiramatsu wrote: > (2014/11/21 7:29), Seth Jennings wrote: > > Adds sysfs interface documentation to Documentation/ABI/testing/ > > > > Hmm, is there any reason to decouple this documentation from code patch? > I think we'

  1   2   3   4   5   6   7   8   9   10   >