Re: [tip:perf/core] Revert "perf: Remove the extra validity check on nr_pages"

2015-03-04 Thread Ingo Molnar
* Liang, Kan wrote: > > * Liang, Kan wrote: > > > > > > * tip-bot for Kan Liang wrote: > > > > > > > > > --- a/kernel/events/core.c > > > > > +++ b/kernel/events/core.c > > > > > @@ -4446,7 +4446,7 @@ static int perf_mmap(struct file *file, struct > > > > vm_area_struct *vma) > > > > >

RE: [tip:perf/core] Revert "perf: Remove the extra validity check on nr_pages"

2015-03-04 Thread Liang, Kan
> > > * Liang, Kan wrote: > > > > * tip-bot for Kan Liang wrote: > > > > > > > --- a/kernel/events/core.c > > > > +++ b/kernel/events/core.c > > > > @@ -4446,7 +4446,7 @@ static int perf_mmap(struct file *file, struct > > > vm_area_struct *vma) > > > > * If we have rb pages ensure t

Re: [tip:perf/core] Revert "perf: Remove the extra validity check on nr_pages"

2015-03-03 Thread Ingo Molnar
* Liang, Kan wrote: > > * tip-bot for Kan Liang wrote: > > > > > --- a/kernel/events/core.c > > > +++ b/kernel/events/core.c > > > @@ -4446,7 +4446,7 @@ static int perf_mmap(struct file *file, struct > > vm_area_struct *vma) > > >* If we have rb pages ensure they're a power-of-two number,

RE: [tip:perf/core] Revert "perf: Remove the extra validity check on nr_pages"

2015-03-03 Thread Liang, Kan
> > > * tip-bot for Kan Liang wrote: > > > --- a/kernel/events/core.c > > +++ b/kernel/events/core.c > > @@ -4446,7 +4446,7 @@ static int perf_mmap(struct file *file, struct > vm_area_struct *vma) > > * If we have rb pages ensure they're a power-of-two number, so > we > > * can do b

Re: [tip:perf/core] Revert "perf: Remove the extra validity check on nr_pages"

2015-03-03 Thread Ingo Molnar
* tip-bot for Kan Liang wrote: > --- a/kernel/events/core.c > +++ b/kernel/events/core.c > @@ -4446,7 +4446,7 @@ static int perf_mmap(struct file *file, struct > vm_area_struct *vma) >* If we have rb pages ensure they're a power-of-two number, so we >* can do bitmasks instead of

[tip:perf/core] Revert "perf: Remove the extra validity check on nr_pages"

2015-03-02 Thread tip-bot for Kan Liang
Commit-ID: 2ed11312eb19506c027e7cac039994ad42a9cb2c Gitweb: http://git.kernel.org/tip/2ed11312eb19506c027e7cac039994ad42a9cb2c Author: Kan Liang AuthorDate: Mon, 2 Mar 2015 02:14:26 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 18:25:38 -0300 Revert "perf: Remov