summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2013-02-23 04:35:05 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-24 05:50:19 +0400
commitee0ea59cf9ea95369d686bdc4b3d8c027e2b99cd (patch)
tree31b446ae45861baf9532d94bffcc091933f7df95 /Documentation
parente850dcf530a470b6115344ee00acf766d824db53 (diff)
downloadlinux-ee0ea59cf9ea95369d686bdc4b3d8c027e2b99cd.tar.xz
ksm: reorganize ksm_check_stable_tree
Memory hotremove's ksm_check_stable_tree() is pitifully inefficient (restarting whenever it finds a stale node to remove), but rearrange so that at least it does not needlessly restart from nid 0 each time. And add a couple of comments: here is why we keep pfn instead of page. Signed-off-by: Hugh Dickins <hughd@google.com> Cc: Rik van Riel <riel@redhat.com> Cc: Petr Holasek <pholasek@redhat.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Izik Eidus <izik.eidus@ravellosystems.com> Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com> Cc: KOSAKI Motohiro <kosaki.motohiro@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions