Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-09-01 Thread Richard Yao
I seem to have botched the reply headers, so I am resending this. I use mutt fairly infrequently, but I am making an effort to use it more it more. On Tue, Sep 01, 2015 at 02:21:43PM +0100, Ben Hutchings wrote: > On Tue, 2015-09-01 at 01:24 +, Richard Yao wrote: > > On Mon, 2015-08-17

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-09-01 Thread Ben Hutchings
On Tue, 2015-09-01 at 01:24 +, Richard Yao wrote: > On Mon, 2015-08-17 09:56:55 -0700, Ben Hutchings wrote: > > On Mon, 2015-08-17 at 17:11 +0200, Michal Hocko wrote: > > > On Mon 17-08-15 16:56:32, Ben Hutchings wrote: > > > > On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: > > > > >

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-09-01 Thread Richard Yao
I seem to have botched the reply headers, so I am resending this. I use mutt fairly infrequently, but I am making an effort to use it more it more. On Tue, Sep 01, 2015 at 02:21:43PM +0100, Ben Hutchings wrote: > On Tue, 2015-09-01 at 01:24 +, Richard Yao wrote: > > On Mon, 2015-08-17

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-09-01 Thread Ben Hutchings
On Tue, 2015-09-01 at 01:24 +, Richard Yao wrote: > On Mon, 2015-08-17 09:56:55 -0700, Ben Hutchings wrote: > > On Mon, 2015-08-17 at 17:11 +0200, Michal Hocko wrote: > > > On Mon 17-08-15 16:56:32, Ben Hutchings wrote: > > > > On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: > > > > >

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-31 Thread Dave Chinner
On Tue, Sep 01, 2015 at 01:24:53AM +, Richard Yao wrote: > On Mon, 2015-08-17 09:56:55 -0700, Ben Hutchings wrote: > > On Mon, 2015-08-17 at 17:11 +0200, Michal Hocko wrote: > > > On Mon 17-08-15 16:56:32, Ben Hutchings wrote: > > > > On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: > >

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-31 Thread Richard Yao
On Mon, 2015-08-17 09:56:55 -0700, Ben Hutchings wrote: > On Mon, 2015-08-17 at 17:11 +0200, Michal Hocko wrote: > > On Mon 17-08-15 16:56:32, Ben Hutchings wrote: > > > On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: > > > > On Sun 16-08-15 01:42:27, Ben Hutchings wrote: > > > > >

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-31 Thread Dave Chinner
On Tue, Sep 01, 2015 at 01:24:53AM +, Richard Yao wrote: > On Mon, 2015-08-17 09:56:55 -0700, Ben Hutchings wrote: > > On Mon, 2015-08-17 at 17:11 +0200, Michal Hocko wrote: > > > On Mon 17-08-15 16:56:32, Ben Hutchings wrote: > > > > On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: > >

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-31 Thread Richard Yao
On Mon, 2015-08-17 09:56:55 -0700, Ben Hutchings wrote: > On Mon, 2015-08-17 at 17:11 +0200, Michal Hocko wrote: > > On Mon 17-08-15 16:56:32, Ben Hutchings wrote: > > > On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: > > > > On Sun 16-08-15 01:42:27, Ben Hutchings wrote: > > > > >

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-17 Thread Ben Hutchings
On Mon, 2015-08-17 at 17:11 +0200, Michal Hocko wrote: > On Mon 17-08-15 16:56:32, Ben Hutchings wrote: > > On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: > > > On Sun 16-08-15 01:42:27, Ben Hutchings wrote: > > > > Proprietary modules should not be able to touch vm_stat or participate > >

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-17 Thread Michal Hocko
On Mon 17-08-15 16:56:32, Ben Hutchings wrote: > On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: > > On Sun 16-08-15 01:42:27, Ben Hutchings wrote: > > > Proprietary modules should not be able to touch vm_stat or participate > > > in shrinking. > > > > How does the external and !GPL fs

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-17 Thread Ben Hutchings
On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: > On Sun 16-08-15 01:42:27, Ben Hutchings wrote: > > Proprietary modules should not be able to touch vm_stat or participate > > in shrinking. > > How does the external and !GPL fs does slab reclaim? Those are essential > for the proper memory

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-17 Thread Michal Hocko
On Sun 16-08-15 01:42:27, Ben Hutchings wrote: > Proprietary modules should not be able to touch vm_stat or participate > in shrinking. How does the external and !GPL fs does slab reclaim? Those are essential for the proper memory balancing. You are probably right about vm_stat though. Those

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-17 Thread Michal Hocko
On Sun 16-08-15 01:42:27, Ben Hutchings wrote: Proprietary modules should not be able to touch vm_stat or participate in shrinking. How does the external and !GPL fs does slab reclaim? Those are essential for the proper memory balancing. You are probably right about vm_stat though. Those

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-17 Thread Ben Hutchings
On Mon, 2015-08-17 at 17:11 +0200, Michal Hocko wrote: On Mon 17-08-15 16:56:32, Ben Hutchings wrote: On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: On Sun 16-08-15 01:42:27, Ben Hutchings wrote: Proprietary modules should not be able to touch vm_stat or participate in

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-17 Thread Michal Hocko
On Mon 17-08-15 16:56:32, Ben Hutchings wrote: On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: On Sun 16-08-15 01:42:27, Ben Hutchings wrote: Proprietary modules should not be able to touch vm_stat or participate in shrinking. How does the external and !GPL fs does slab

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-17 Thread Ben Hutchings
On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: On Sun 16-08-15 01:42:27, Ben Hutchings wrote: Proprietary modules should not be able to touch vm_stat or participate in shrinking. How does the external and !GPL fs does slab reclaim? Those are essential for the proper memory

[PATCH] mm: Change global memory state symbols to GPL-only

2015-08-15 Thread Ben Hutchings
Proprietary modules should not be able to touch vm_stat or participate in shrinking. Signed-off-by: Ben Hutchings --- mm/vmscan.c | 4 ++-- mm/vmstat.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 8286938..e6e7449 100644 ---

[PATCH] mm: Change global memory state symbols to GPL-only

2015-08-15 Thread Ben Hutchings
Proprietary modules should not be able to touch vm_stat or participate in shrinking. Signed-off-by: Ben Hutchings b...@decadent.org.uk --- mm/vmscan.c | 4 ++-- mm/vmstat.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 8286938..e6e7449