diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2010-05-24 14:32:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-25 08:06:58 -0700 |
commit | 6a60f1b3588aef6ddceaa14192df475d430cce45 (patch) | |
tree | 4469beefed2e610eef9204b1a4d63cddc5d9aae4 /mm/page_isolation.c | |
parent | c0ff7453bb5c7c98e0885fb94279f2571946f280 (diff) | |
download | op-kernel-dev-6a60f1b3588aef6ddceaa14192df475d430cce45.zip op-kernel-dev-6a60f1b3588aef6ddceaa14192df475d430cce45.tar.gz |
mincore: cleanups
This fixes some minor issues that bugged me while going over the code:
o adjust argument order of do_mincore() to match the syscall
o simplify range length calculation
o drop superfluous shift in huge tlb calculation, address is page aligned
o drop dead nr_huge calculation
o check pte_none() before pte_present()
o comment and whitespace fixes
No semantic changes intended.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_isolation.c')
0 files changed, 0 insertions, 0 deletions