madvise: Add MADV_HUGEPAGE support
Since McKernel allocates hugepages by default, we could consider that madvise call with MADV_HUGEPAGE is supported. Change-Id: Ibdaa6f77416d029a1d17210773ef79539ba04b1c
This commit is contained in:
committed by
Dominique Martinet
parent
525b90d028
commit
527adedaa3
@ -4839,11 +4839,11 @@ SYSCALL_DECLARE(madvise)
|
||||
default:
|
||||
case MADV_MERGEABLE:
|
||||
case MADV_UNMERGEABLE:
|
||||
case MADV_HUGEPAGE:
|
||||
case MADV_NOHUGEPAGE:
|
||||
error = -EINVAL;
|
||||
break;
|
||||
|
||||
case MADV_HUGEPAGE:
|
||||
case MADV_NORMAL:
|
||||
case MADV_RANDOM:
|
||||
case MADV_SEQUENTIAL:
|
||||
|
||||
Reference in New Issue
Block a user