diff options
| author | Wei Yang <[email protected]> | 2019-03-05 08:34:32 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-04-19 10:59:36 +0000 |
| commit | f6c6010a07734103a31faa0cc977641b358c45b0 (patch) | |
| tree | 083827fdeff31a4f9da7a8e281492ae8cd592a39 /mm/hugetlb.c | |
| parent | ia64/tlb: Eradicate tlb_migrate_finish() callback (diff) | |
| download | kernel-f6c6010a07734103a31faa0cc977641b358c45b0.tar.gz kernel-f6c6010a07734103a31faa0cc977641b358c45b0.zip | |
mm/resource: Use resource_overlaps() to simplify region_intersects()
The three checks in region_intersects() are basically an open-coded version
of resource_overlaps() - so use the real thing.
Also fix typos in comments while at it.
Signed-off-by: Wei Yang <[email protected]>
Reviewed-by: Like Xu <[email protected]>
Reviewed-by: Yuan Yao <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
[ Rewrote the changelog. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions
