diff options
author | 2016-07-26 15:23:49 -0700 | |
---|---|---|
committer | 2016-07-26 16:19:19 -0700 | |
commit | a9627bc5e34e79ae80a33241b8a1501cc498e191 (patch) | |
tree | f3ecdabcbbbcbcc5b53c1aef2a24d3feab3be0d4 /net/unix/af_unix.c | |
parent | mm/page_owner: copy last_migrate_reason in copy_page_owner() (diff) | |
download | wireguard-linux-a9627bc5e34e79ae80a33241b8a1501cc498e191.tar.xz wireguard-linux-a9627bc5e34e79ae80a33241b8a1501cc498e191.zip |
mm/page_owner: introduce split_page_owner and replace manual handling
split_page() calls set_page_owner() to set up page_owner to each pages.
But, it has a drawback that head page and the others have different
stacktrace because callsite of set_page_owner() is slightly differnt.
To avoid this problem, this patch copies head page's page_owner to the
others. It needs to introduce new function, split_page_owner() but it
also remove the other function, get_page_owner_gfp() so looks good to
do.
Link: http://lkml.kernel.org/r/1464230275-25791-4-git-send-email-iamjoonsoo.kim@lge.com
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Alexander Potapenko <glider@google.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Michal Hocko <mhocko@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions