[PATCH 1/3] Revert "thp: make MADV_HUGEPAGE check for mm->def_flags"

2014-02-25 Thread Alex Thorlton
This reverts commit 8e72033f2a489b6c98c4e3c7cc281b1afd6cb85c, and adds in code to fix up any issues caused by the revert. The revert is necessary because hugepage_madvise would return -EINVAL when VM_NOHUGEPAGE is set, which will break subsequent chunks of this patch set. Here's a snip of an e-ma

Re: [PATCH 1/3] Revert "thp: make MADV_HUGEPAGE check for mm->def_flags"

2014-02-03 Thread Alex Thorlton
On Fri, Jan 31, 2014 at 02:52:24PM -0800, Andrew Morton wrote: > On Fri, 31 Jan 2014 12:23:43 -0600 Alex Thorlton wrote: > > > This reverts commit 8e72033f2a489b6c98c4e3c7cc281b1afd6cb85cm, and adds > > 'm' is not a hex digit ;) My mistake! Sorry about that. > > in code to fix up any issues c

Re: [PATCH 1/3] Revert "thp: make MADV_HUGEPAGE check for mm->def_flags"

2014-02-03 Thread Gerald Schaefer
On Fri, 31 Jan 2014 14:52:24 -0800 Andrew Morton wrote: > On Fri, 31 Jan 2014 12:23:43 -0600 Alex Thorlton wrote: > > > This reverts commit 8e72033f2a489b6c98c4e3c7cc281b1afd6cb85cm, and adds > > 'm' is not a hex digit ;) > > > in code to fix up any issues caused by the revert. > > > > The r

Re: [PATCH 1/3] Revert "thp: make MADV_HUGEPAGE check for mm->def_flags"

2014-01-31 Thread Andrew Morton
On Fri, 31 Jan 2014 12:23:43 -0600 Alex Thorlton wrote: > This reverts commit 8e72033f2a489b6c98c4e3c7cc281b1afd6cb85cm, and adds 'm' is not a hex digit ;) > in code to fix up any issues caused by the revert. > > The revert is necessary because hugepage_madvise would return -EINVAL > when VM_N

[PATCH 1/3] Revert "thp: make MADV_HUGEPAGE check for mm->def_flags"

2014-01-31 Thread Alex Thorlton
This reverts commit 8e72033f2a489b6c98c4e3c7cc281b1afd6cb85cm, and adds in code to fix up any issues caused by the revert. The revert is necessary because hugepage_madvise would return -EINVAL when VM_NOHUGEPAGE is set, which will break subsequent chunks of this patch set. Signed-off-by: Alex Tho

[PATCH 1/3] Revert "thp: make MADV_HUGEPAGE check for mm->def_flags"

2014-01-31 Thread Alex Thorlton
This reverts commit 8e72033f2a489b6c98c4e3c7cc281b1afd6cb85cm, and adds in code to fix up any issues caused by the revert. The revert is necessary because hugepage_madvise would return -EINVAL when VM_NOHUGEPAGE is set, which will break subsequent chunks of this patch set. Signed-off-by: Alex Tho