diff options
author | Naoya Horiguchi <[email protected]> | 2010-09-08 10:19:34 +0900 |
---|---|---|
committer | Andi Kleen <[email protected]> | 2010-10-08 09:32:44 +0200 |
commit | 0ebabb416f585ace711769057422af4bbc9d1110 (patch) | |
tree | d23d66033fdaefec9c2b4051f108b948c5389d0e /net/unix/af_unix.c | |
parent | bf50bab2b34483316162443587b8467952e07730 (diff) |
hugetlb: redefine hugepage copy functions
This patch modifies hugepage copy functions to have only destination
and source hugepages as arguments for later use.
The old ones are renamed from copy_{gigantic,huge}_page() to
copy_user_{gigantic,huge}_page().
This naming convention is consistent with that between copy_highpage()
and copy_user_highpage().
ChangeLog since v4:
- add blank line between local declaration and code
- remove unnecessary might_sleep()
ChangeLog since v2:
- change copy_huge_page() from macro to inline dummy function
to avoid compile warning when !CONFIG_HUGETLB_PAGE.
Signed-off-by: Naoya Horiguchi <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Reviewed-by: Christoph Lameter <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions