Re: [PATCH 3/6] mmu_notifier: add event information to address invalidation v2

2014-06-30 Thread Linus Torvalds
On Fri, Jun 27, 2014 at 7:00 PM, Jérôme Glisse wrote: > From: Jérôme Glisse > > The event information will be useful [...] That needs to be cleaned up, though. Why the heck are you making up ew and stupid event types? Now you make the generic VM code do stupid things like this: + if ((vm

Re: [PATCH 3/6] mmu_notifier: add event information to address invalidation v2

2014-06-30 Thread Jerome Glisse
On Sun, Jun 29, 2014 at 10:22:57PM -0700, John Hubbard wrote: > On Fri, 27 Jun 2014, Jérôme Glisse wrote: > > > From: Jérôme Glisse > > > > The event information will be usefull for new user of mmu_notifier API. > > The event argument differentiate between a vma disappearing, a page > > being wr

Re: [PATCH 3/6] mmu_notifier: add event information to address invalidation v2

2014-06-29 Thread John Hubbard
On Fri, 27 Jun 2014, Jérôme Glisse wrote: > From: Jérôme Glisse > > The event information will be usefull for new user of mmu_notifier API. > The event argument differentiate between a vma disappearing, a page > being write protected or simply a page being unmaped. This allow new > user to take

[PATCH 3/6] mmu_notifier: add event information to address invalidation v2

2014-06-27 Thread Jérôme Glisse
From: Jérôme Glisse The event information will be usefull for new user of mmu_notifier API. The event argument differentiate between a vma disappearing, a page being write protected or simply a page being unmaped. This allow new user to take different path for different event for instance on unma