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 alloc

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 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

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 th

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 pages. It is designed to store up to thr

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 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 --- a

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

2015-12-02 Thread Seth Jennings
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

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

2015-11-30 Thread Seth Jennings
to unexpected 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/

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&#

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
d might lead 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/i

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

2015-11-24 Thread Seth Jennings
;= 64GB 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 ++--

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 z

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-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 PAGE_SIZE.

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

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 r

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

2015-08-05 Thread Seth Jennings
ket#1: DEV :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

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 dynami

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 c

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 poi

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: [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

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, livepat

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: [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 fol

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 Mahendr

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
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-kernel-livep

[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
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

[PATCHv5 0/3] Kernel Live Patching

2014-12-04 Thread Seth Jennings
/dynup/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/

[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
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

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 mechani

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 thi

[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
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
ditional check. 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

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&

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

2014-11-21 Thread Seth Jennings
On Fri, Nov 21, 2014 at 01:22:33AM +0100, Jiri Kosina wrote: > On Thu, 20 Nov 2014, 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 > > of

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

2014-11-21 Thread Seth Jennings
On Fri, Nov 21, 2014 at 04:46:32PM +0100, Miroslav Benes wrote: > On Fri, 21 Nov 2014, Josh Poimboeuf wrote: > > > On Fri, Nov 21, 2014 at 03:44:35PM +0100, Miroslav Benes wrote: > > > On Fri, 21 Nov 2014, Jiri Kosina wrote: > > > > > > [...] > > > > > > > [ ... snip ... ] > > > > > +static int

[PATCHv3 0/3] Kernel Live Patching

2014-11-20 Thread Seth Jennings
ever, 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 (3):

[PATCHv3 1/3] kernel: add TAINT_LIVEPATCH

2014-11-20 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

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

2014-11-20 Thread Seth Jennings
old version of the function can _not_ be safely applied in this version. Signed-off-by: Seth Jennings --- MAINTAINERS | 12 + arch/x86/Kconfig | 3 + arch/x86/include/asm/livepatch.h | 37 ++ arch/x86/kernel/Makefile | 1 + arch/x86/kernel

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

2014-11-20 Thread Seth Jennings
Adds sysfs interface documentation to Documentation/ABI/testing/ Signed-off-by: Seth Jennings --- Documentation/ABI/testing/sysfs-kernel-livepatch | 44 MAINTAINERS | 1 + 2 files changed, 45 insertions(+) create mode 100644

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

2014-11-20 Thread Seth Jennings
On Thu, Nov 20, 2014 at 11:35:52AM -0600, Josh Poimboeuf wrote: > On Thu, Nov 20, 2014 at 02:10:33PM +0100, Miroslav Benes wrote: > > > > On Sun, 16 Nov 2014, Seth Jennings wrote: > > > > > This commit introduces code for the live patching core. It implements >

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

2014-11-20 Thread Seth Jennings
On Thu, Nov 20, 2014 at 09:19:54AM -0600, Josh Poimboeuf wrote: > On Sun, Nov 16, 2014 at 07:29:23PM -0600, Seth Jennings wrote: > > +static int lpc_module_notify(struct notifier_block *nb, unsigned long > > action, > > + void *data) > > +{ > &

v3.18-rc5 build failure on ppc64 in Documentation/mic/mpssd/mpssd.o

2014-11-19 Thread Seth Jennings
One or more in the following commit set in the 3.18 merge window is causing build failure on ppc64 with the default config: 7b345771ba921361b318e95bf21b257c65ac141c Documentation: update include path for mpssd 8c2b0dc83d9840da4d993a5dbb15c5974ad5a188 Documentation: support glibc versions without

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

2014-11-19 Thread Seth Jennings
On Tue, Nov 18, 2014 at 03:45:22PM +0100, Miroslav Benes wrote: > > On Sun, 16 Nov 2014, Seth Jennings wrote: > > [...] > > > diff --git a/include/linux/livepatch.h b/include/linux/livepatch.h > > new file mode 100644 > > index 000..8b68fef > >

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

2014-11-19 Thread Seth Jennings
On Wed, Nov 19, 2014 at 04:27:39PM +0100, Miroslav Benes wrote: > > Hi, > > during rewriting our code I came across few more things. See below. > > On Sun, 16 Nov 2014, Seth Jennings wrote: > > [...] > > > +/*

Re: [PATCH] mm: frontswap: invalidate expired data on a dup-store failure

2014-11-19 Thread Seth Jennings
On Wed, Nov 19, 2014 at 09:06:41PM +0800, Weijie Yang wrote: > On Wed, Nov 19, 2014 at 6:29 AM, Seth Jennings > wrote: > > On Tue, Nov 18, 2014 at 04:51:36PM +0800, Weijie Yang wrote: > >> If a frontswap dup-store failed, it should invalidate the expired page > >&g

Re: [PATCH] mm: frontswap: invalidate expired data on a dup-store failure

2014-11-18 Thread Seth Jennings
On Tue, Nov 18, 2014 at 04:51:36PM +0800, Weijie Yang wrote: > If a frontswap dup-store failed, it should invalidate the expired page > in the backend, or it could trigger some data corruption issue. > Such as: > 1. use zswap as the frontswap backend with writeback feature > 2. store a swap page(ve

Re: [PATCH 1/1] mm/zswap: Deletion of an unnecessary check before the function call "free_percpu"

2014-11-18 Thread Seth Jennings
> This issue was detected by using the Coccinelle software. Thanks for the cleanup! Acked-by: Seth Jennings > > Signed-off-by: Markus Elfring > --- > mm/zswap.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/mm/zswap.c b/mm/zswap.c > ind

Re: [PATCHv2 0/3] Kernel Live Patching

2014-11-18 Thread Seth Jennings
On Tue, Nov 18, 2014 at 03:23:49PM +0100, Jiri Slaby wrote: > On 11/17/2014, 03:54 PM, Seth Jennings wrote: > > On Mon, Nov 17, 2014 at 02:33:02PM +0900, Masami Hiramatsu wrote: > >> Hmm, btw, "LP" and "LPC" remind me line-printer and LPC bus :( > >&g

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

2014-11-18 Thread Seth Jennings
On Tue, Nov 18, 2014 at 03:11:43PM +0100, Miroslav Benes wrote: > > Hi, > > thank you for the revision. I'll rebase our patches on top of that. Anyway > there is a small bug in a header file. See below. > > On Sun, 16 Nov 2014, Seth Jennings wrote: > > [.

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

2014-11-17 Thread Seth Jennings
On Mon, Nov 17, 2014 at 10:45:58AM -0800, Greg KH wrote: > On Sun, Nov 16, 2014 at 07:29:23PM -0600, Seth Jennings wrote: > > +#ifdef CONFIG_X86_32 > > +int lpc_write_module_reloc(struct module *mod, unsigned long type, > > + unsigned long loc

Re: [PATCHv2 0/3] Kernel Live Patching

2014-11-17 Thread Seth Jennings
On Mon, Nov 17, 2014 at 02:33:02PM +0900, Masami Hiramatsu wrote: > Hi Seth, > > (2014/11/17 10:29), Seth Jennings wrote: > > Changelog: > > > > Thanks for all the feedback! > > > > changes in v2: > > - rebase to next-20141113 > > - add copy

[PATCHv2 1/3] kernel: add TAINT_LIVEPATCH

2014-11-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

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

2014-11-16 Thread Seth Jennings
Adds sysfs interface documentation to Documentation/ABI/testing/ Signed-off-by: Seth Jennings --- Documentation/ABI/testing/sysfs-kernel-livepatch | 44 MAINTAINERS | 1 + 2 files changed, 45 insertions(+) create mode 100644

[PATCHv2 0/3] Kernel Live Patching

2014-11-16 Thread Seth Jennings
at 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): kernel: add TAINT_LI

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

2014-11-16 Thread Seth Jennings
old version of the function can _not_ be safely applied in this version. Signed-off-by: Seth Jennings --- MAINTAINERS | 12 + arch/x86/Kconfig | 2 + arch/x86/include/asm/livepatch.h | 38 ++ arch/x86/kernel/Makefile | 1 + arch/x86/kernel

Re: [PATCH] zsmalloc: correct fragile [kmap|kunmap]_atomic use

2014-11-14 Thread Seth Jennings
r, but, at the same time, it isn't obvious that we are passing the same value to kunmap_atomic() that we got from kmap_atomic(). Just a thought. Either way: Reviewed-by: Seth Jennings > > Signed-off-by: Minchan Kim > --- > mm/zsmalloc.c | 21 - > 1 file changed, 1

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

2014-11-13 Thread Seth Jennings
On Thu, Nov 13, 2014 at 11:16:00AM +0100, Miroslav Benes wrote: > > Hi, > > thank you for the first version of the united live patching core. > > The patch below implements some of our review objections. Changes are > described in the commit log. It simplifies the hierarchy of data > structure

[PATCH] zbud, zswap: change module author email

2014-11-12 Thread Seth Jennings
Old email no longer viable. Signed-off-by: Seth Jennings --- mm/zbud.c | 2 +- mm/zswap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/zbud.c b/mm/zbud.c index db8de74..4e387be 100644 --- a/mm/zbud.c +++ b/mm/zbud.c @@ -619,5 +619,5 @@ module_init(init_zbud

Re: [PATCH] mm/zswap: add __init to some functions in zswap

2014-11-12 Thread Seth Jennings
On Sun, Nov 09, 2014 at 08:23:52PM +0800, Mahendran Ganesh wrote: > zswap_cpu_init/zswap_comp_exit/zswap_entry_cache_create is only > called by __init init_zswap() Thanks for the cleanup! Acked-by: Seth Jennings > > Signed-off-by: Mahendran Ganesh > --- > mm/zswap.c |

Re: [PATCH] mm/zswap: unregister zswap_cpu_notifier_block in cleanup procedure

2014-11-12 Thread Seth Jennings
On Sun, Nov 09, 2014 at 07:22:23PM +0800, Mahendran Ganesh wrote: > In zswap_cpu_init(), the code does not unregister *zswap_cpu_notifier_block* > during the cleanup procedure. This is not needed. If we are in the cleanup code, we never got to the __register_cpu_notifier() call. Thanks, Seth >

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

2014-11-11 Thread Seth Jennings
On Tue, Nov 11, 2014 at 11:17:39PM +0100, Jiri Kosina wrote: > On Tue, 11 Nov 2014, Seth Jennings wrote: > > > It will be in v2 (hopefully out in the next couple of days). > > FWIW we are also working on a few patches on top of v1 to back some of the > proposals we

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

2014-11-11 Thread Seth Jennings
On Fri, Nov 07, 2014 at 07:40:11PM +0100, Petr Mladek wrote: > On Fri 2014-11-07 12:07:11, Seth Jennings wrote: > > On Fri, Nov 07, 2014 at 06:13:07PM +0100, Petr Mladek wrote: > > > On Thu 2014-11-06 08:39:08, Seth Jennings wrote: [...] > > > > + up(&lpc_mu

Re: [PATCH 1/2] kernel: add TAINT_LIVEPATCH

2014-11-11 Thread Seth Jennings
On Sun, Nov 09, 2014 at 12:19:22PM -0800, Greg KH wrote: > On Thu, Nov 06, 2014 at 08:39:07AM -0600, Seth Jennings wrote: > > This adds a new taint flag to indicate when the kernel or a kernel > > module has been live patched. This will provide a clean indication in > >

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

2014-11-07 Thread Seth Jennings
On Fri, Nov 07, 2014 at 11:40:38AM -0800, Andy Lutomirski wrote: > On 11/06/2014 06:39 AM, 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 > > of ker

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

2014-11-07 Thread Seth Jennings
On Fri, Nov 07, 2014 at 11:40:38AM -0800, Andy Lutomirski wrote: > On 11/06/2014 06:39 AM, 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 > > of ker

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

2014-11-07 Thread Seth Jennings
On Fri, Nov 07, 2014 at 07:40:11PM +0100, Petr Mladek wrote: > On Fri 2014-11-07 12:07:11, Seth Jennings wrote: > > On Fri, Nov 07, 2014 at 06:13:07PM +0100, Petr Mladek wrote: > > > On Thu 2014-11-06 08:39:08, Seth Jennings wrote: > > > > This commit introduces c

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

2014-11-07 Thread Seth Jennings
On Fri, Nov 07, 2014 at 06:13:07PM +0100, Petr Mladek wrote: > On Thu 2014-11-06 08:39:08, 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 > > of ker

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

2014-11-07 Thread Seth Jennings
On Fri, Nov 07, 2014 at 02:13:37PM +0100, Jiri Kosina wrote: > On Fri, 7 Nov 2014, Josh Poimboeuf wrote: > > > > Also, lpc_create_object(), lpc_create_func(), lpc_create_patch(), > > > lpc_create_objects(), lpc_create_funcs(), ... they all are pretty much > > > alike, and are asking for some kin

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

2014-11-06 Thread Seth Jennings
On Thu, Nov 06, 2014 at 03:02:04PM -0500, Steven Rostedt wrote: > On Thu, 6 Nov 2014 08:39:08 -0600 > Seth Jennings wrote: > > > --- /dev/null > > +++ b/kernel/livepatch/Kconfig > > @@ -0,0 +1,11 @@ > > +config LIVE_PATCHING > > + tristate &q

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

2014-11-06 Thread Seth Jennings
On Thu, Nov 06, 2014 at 04:51:02PM +0100, 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 patching > > of ker

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

2014-11-06 Thread Seth Jennings
On Thu, Nov 06, 2014 at 04:11:37PM +0100, Jiri Kosina wrote: > On Thu, 6 Nov 2014, 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 > > of kernel and

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

2014-11-06 Thread Seth Jennings
old version of the function can _not_ be safely applied in this version. Signed-off-by: Seth Jennings --- MAINTAINERS | 10 + arch/x86/Kconfig |2 + include/linux/livepatch.h | 45 ++ kernel/Makefile |1 + kernel/livepatch/Kconfig | 11 + kernel

[PATCH 0/2] Kernel Live Patching

2014-11-06 Thread Seth Jennings
_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 (2): kernel: add TAINT_LIVEPATCH kernel: add support for live patching Documentation/o

[PATCH 1/2] kernel: add TAINT_LIVEPATCH

2014-11-06 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

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

2014-11-04 Thread Seth Jennings
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 deterministic behavior on reclamation, which is one of > reasons why zswap

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

2014-10-24 Thread Seth Jennings
On Thu, Oct 23, 2014 at 07:14:15PM -0400, Dan Streetman wrote: > On Tue, Oct 14, 2014 at 7:59 AM, 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 deterministi

Re: [PATCH] kprobes: add kprobe_is_function_probed()

2014-10-22 Thread Seth Jennings
On Tue, Oct 21, 2014 at 09:40:32PM -0500, Josh Poimboeuf wrote: > On Tue, Oct 21, 2014 at 11:25:56PM +0200, Jiri Kosina wrote: > > On Tue, 21 Oct 2014, Josh Poimboeuf wrote: > > > > > > I'm guessing kGraft doesn't have the address + length? I think you > > > could call kallsyms_lookup() to get bo

Re: [RFC PATCH 1/2] mm/afmalloc: introduce anti-fragmentation memory allocator

2014-10-07 Thread Seth Jennings
On Tue, Oct 07, 2014 at 04:42:33PM +0900, Joonsoo Kim wrote: > Hello, Seth. > Sorry for late response. :) > > 2014-09-30 4:53 GMT+09:00 Seth Jennings : > > On Fri, Sep 26, 2014 at 03:53:14PM +0900, Joonsoo Kim wrote: > >> WARNING: This is just RFC patchset. patch 2/2 i

Re: [RFC PATCH 1/2] mm/afmalloc: introduce anti-fragmentation memory allocator

2014-09-29 Thread Seth Jennings
On Fri, Sep 26, 2014 at 03:53:14PM +0900, Joonsoo Kim wrote: > WARNING: This is just RFC patchset. patch 2/2 is only for testing. > If you know useful place to use this allocator, please let me know. > > This is brand-new allocator, called anti-fragmentation memory allocator > (aka afmalloc), in o

Re: [PATCH] sb_edac: avoid INTERNAL ERROR message in EDAC with unspecified channel

2014-09-22 Thread Seth Jennings
On Mon, Sep 08, 2014 at 10:18:51AM -0400, Aristeu Rozanski wrote: > On Fri, Sep 05, 2014 at 02:28:47PM -0500, Seth Jennings wrote: > > Intel IA32 SDM Table 15-14 defines channel 0xf as 'not specified', but > > EDAC doesn't know about this and returns and INTERNAL

Re: [PATCH 03/10] zsmalloc: always update lru ordering of each zspage

2014-09-11 Thread Seth Jennings
On Thu, Sep 11, 2014 at 04:53:54PM -0400, Dan Streetman wrote: > Update ordering of a changed zspage in its fullness group LRU list, > even if it has not moved to a different fullness group. > > This is needed by zsmalloc shrinking, which partially relies on each > class fullness group list to be

Re: [PATCH 01/10] zsmalloc: fix init_zspage free obj linking

2014-09-11 Thread Seth Jennings
ng it into the zspage. > > Signed-off-by: Dan Streetman > Cc: Minchan Kim This one stands on its own as a bugfix. Reviewed-by: Seth Jennings > --- > mm/zsmalloc.c | 14 +- > 1 file changed, 5 insertions(+), 9 deletions(-) > > diff --git a/mm/zsmalloc.c b/mm

  1   2   3   4   5   >