Re: [PATCH 0/3] new feature: monitoring page cache events

2016-07-30 Thread George Amvrosiadis
On Fri, Jul 29, 2016 at 08:33:34AM -0700, Dave Hansen wrote: > What's to stop you from using tracing to gather and transport data out > of the kernel and then aggregate and present it to apps in an "elegant" > way of your choosing? > > I don't think it's really even worth having an in-depth

Re: [PATCH 0/3] new feature: monitoring page cache events

2016-07-30 Thread George Amvrosiadis
On Fri, Jul 29, 2016 at 08:33:34AM -0700, Dave Hansen wrote: > What's to stop you from using tracing to gather and transport data out > of the kernel and then aggregate and present it to apps in an "elegant" > way of your choosing? > > I don't think it's really even worth having an in-depth

Re: [PATCH 0/3] new feature: monitoring page cache events

2016-07-28 Thread George Amvrosiadis
On Thu, Jul 28, 2016 at 02:02:45PM -0700, Dave Hansen wrote: > On 07/25/2016 08:47 PM, George Amvrosiadis wrote: > > 21 files changed, 2424 insertions(+), 1 deletion(-) > > I like the idea, but yikes, that's a lot of code. > > Have you considered using or augmenting

Re: [PATCH 0/3] new feature: monitoring page cache events

2016-07-28 Thread George Amvrosiadis
On Thu, Jul 28, 2016 at 02:02:45PM -0700, Dave Hansen wrote: > On 07/25/2016 08:47 PM, George Amvrosiadis wrote: > > 21 files changed, 2424 insertions(+), 1 deletion(-) > > I like the idea, but yikes, that's a lot of code. > > Have you considered using or augmenting

[PATCH 3/3] mm/duet: framework code

2016-07-25 Thread George Amvrosiadis
by the page cache hooks when Duet is online - init.c: routines used to bring Duet online or offline - path.c: routines performing resolution of UUIDs to paths using d_path - task.c: implementation of Duet task fd operations Signed-off-by: George Amvrosiadis <gamvr...@gmail.com> --- init/K

[PATCH 1/3] mm: support for duet hooks

2016-07-25 Thread George Amvrosiadis
Adds the Duet hooks in the page cache. In filemap.c, two hooks are added at the time of addition and removal of a page descriptor. In page-flags.h, two more hooks are added to track page dirtying and flushing. The hooks are inactive while Duet is offline. Signed-off-by: George Amvrosiadis <ga

[PATCH 3/3] mm/duet: framework code

2016-07-25 Thread George Amvrosiadis
by the page cache hooks when Duet is online - init.c: routines used to bring Duet online or offline - path.c: routines performing resolution of UUIDs to paths using d_path - task.c: implementation of Duet task fd operations Signed-off-by: George Amvrosiadis --- init/Kconfig | 2 + mm/Makefile

[PATCH 1/3] mm: support for duet hooks

2016-07-25 Thread George Amvrosiadis
Adds the Duet hooks in the page cache. In filemap.c, two hooks are added at the time of addition and removal of a page descriptor. In page-flags.h, two more hooks are added to track page dirtying and flushing. The hooks are inactive while Duet is offline. Signed-off-by: George Amvrosiadis

[PATCH 2/3] mm/duet: syscall wiring

2016-07-25 Thread George Amvrosiadis
Usual syscall wiring for the four Duet syscalls. Signed-off-by: George Amvrosiadis <gamvr...@gmail.com> --- arch/x86/entry/syscalls/syscall_32.tbl | 4 arch/x86/entry/syscalls/syscall_64.tbl | 4 include/linux/syscalls.h | 8 include/uapi/asm-generic/un

[PATCH 0/3] new feature: monitoring page cache events

2016-07-25 Thread George Amvrosiadis
lemap.c and include/linux/page-flags.h: hooks in the page cache to track page events on page addition, removal, dirtying, and flushing. - arch/x86/*, include/linux/syscalls.h, kernel/sys_ni.h: wiring the 4 syscalls - mm/duet/*: framework code George Amvrosiadis (3): mm: support for duet h

[PATCH 2/3] mm/duet: syscall wiring

2016-07-25 Thread George Amvrosiadis
Usual syscall wiring for the four Duet syscalls. Signed-off-by: George Amvrosiadis --- arch/x86/entry/syscalls/syscall_32.tbl | 4 arch/x86/entry/syscalls/syscall_64.tbl | 4 include/linux/syscalls.h | 8 include/uapi/asm-generic/unistd.h | 12

[PATCH 0/3] new feature: monitoring page cache events

2016-07-25 Thread George Amvrosiadis
lemap.c and include/linux/page-flags.h: hooks in the page cache to track page events on page addition, removal, dirtying, and flushing. - arch/x86/*, include/linux/syscalls.h, kernel/sys_ni.h: wiring the 4 syscalls - mm/duet/*: framework code George Amvrosiadis (3): mm: support for duet h