Re: [PATCH 0/5] Swap Migration V5: Overview

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Morton wrote:
Christoph Lameter <[email protected]> wrote:

This is a patchset intended to introduce page migration into the kernel
through a simple implementation of swap based page migration.
The aim is to be minimally intrusive in order to have some hopes for inclusion
into 2.6.15. A separate direct page migration patch is being developed that
applies on top of this patch. The direct migration patch is being discussed on
<[email protected]>.


I remain concerned that it hasn't been demonstrated that the infrastructure
which this patch provides will be adequate for all future applications -
especially memory hot-remove.

> So I'll queue this up for -mm, but I think we need to see an entire
> hot-remove implementation based on this, and have all the interested
> parties signed up to it before we can start moving the infrastructure into
> mainline.
>

It looks Christoph didn't use (direct)memory migration core in this set,
so memory-hotremove will not be affected by this.

At the first look, memory hotplugger will just replace swap_page()
with migrate_onepage().

Comparing swap-based migration and memory hotremove, memory hotremove
has to support wider kinds of pages other than anon, file-cache
swap-cache, mlocked() page used by direct I/O, HugeTLB pages and achieve
close to 100% guaranntee. Ignoring the fact migration and hotremove will
share the code, what they have to do is very different.

swap-based approach looks just intend to do process migration and
it itself looks not bad.

I think your point is that hotremove and migration will share some amounts of codes.
We are now discussing *direct* page migration and will share codes for anon pages.
It is being discussed in -lhms. We'd like to create good one.

Thanks,
-- KAMEZAWA Hiroyuki <[email protected]>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux