Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750845AbXAEXLi (ORCPT ); Fri, 5 Jan 2007 18:11:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750847AbXAEXLi (ORCPT ); Fri, 5 Jan 2007 18:11:38 -0500 Received: from wx-out-0506.google.com ([66.249.82.234]:10663 "EHLO wx-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750845AbXAEXLg (ORCPT ); Fri, 5 Jan 2007 18:11:36 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:from:to:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=c4JJ0XhiIAeQiHYJCsHX5lWzsCMPi2W+3ZhYNKvZsEoDDCIUyCt8lUKzn0U3vWesoekP2kcvw2CiYXbSz5gfD+svmp/M21yVhsBLQVRPRlgB4JbwXnD6MElrqI2e46gPmSkITP7dmiF1lz+EYbHALDHDbhW7m7H3FNyZERHzpsM= Message-ID: <000a01c7311e$ca8c4a00$ec10480a@IBMF0038A435B7> From: "zyf.zeroos" To: Subject: Re: [PATCH 2.6.16.29 1/1] memory: enhance Linux swap subsystem Date: Sat, 6 Jan 2007 07:10:28 +0800 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0007_01C73161.BECC3070" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 38390 Lines: 514 This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C73161.BECC3070 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 VGVzdCBtYWlsIHdpdGggbXkgc2lnbmF0dXJlLCBtYWlsIGNvbnRlbnQgaXMgYmFzZWQgb24gdGhl IHNlY29uZCBxdWlsdCBwYXRjaCAoTGludXggMi42LjE2LjI5KSwgb25seSB0d28ga2V5IGZpbGVz IGFyZSByZS1zZW50IDEpIERvY3VtZW50YXRpb24vdm1fcHBzLnR4dCAyKSBtbS92bXNjYW4uYw0K DQpJbmRleDogdGVzdC5zaWduYXR1cmUvRG9jdW1lbnRhdGlvbi92bV9wcHMudHh0DQo9PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09DQotLS0gL2Rldi9udWxsIDE5NzAtMDEtMDEgMDA6MDA6MDAuMDAwMDAwMDAwICswMDAwDQor KysgdGVzdC5zaWduYXR1cmUvRG9jdW1lbnRhdGlvbi92bV9wcHMudHh0IDIwMDctMDEtMDYgMDc6 MDA6MTguMTQ2NDgwNTg0ICswODAwDQpAQCAtMCwwICsxLDIxNCBAQA0KKyAgICAgICAgICAgICAg ICAgICAgICAgICBQdXJlIFByaXZhdGUgUGFnZSBTeXN0ZW0gKHBwcykNCisgICAgICAgICAgICAg ICAgICAgICBDb3B5cmlnaHQgYnkgWXVuZmVuZyBaaGFuZyBvbiBHRkRMIDEuMg0KKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIHp5Zi56ZXJvb3NAZ21haWwuY29tDQorICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgRGVjZW1iZXIgMjQtMjYsIDIwMDYNCisNCisvLyBQdXJwb3NlIDwo W3sNCitUaGUgZmlsZSBpcyB1c2VkIHRvIGRvY3VtZW50IHRoZSBpZGVhIHdoaWNoIGlzIHB1Ymxp c2hlZCBmaXJzdGx5IGF0DQoraHR0cDovL3d3dy51c3NnLml1LmVkdS9oeXBlcm1haWwvbGludXgv a2VybmVsLzA2MDcuMi8wNDUxLmh0bWwsIGFzIGEgcGFydCBvZiBteQ0KK09TIC0tIG1haW4gcGFn ZSBodHRwOi8vYmxvZy5jaGluYXVuaXgubmV0L3UvMj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gKnBnZGF0Ow0K ------=_NextPart_000_0007_01C73161.BECC3070 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIzDCCAmQw ggHNoAMCAQICEGMzNDkxOTNlZTE0YzY4NmQwDQYJKoZIhvcNAQEEBQAwYTEdMBsGA1UEChMUaVRy dXNjaGluYSBDby4sIEx0ZC4xHjAcBgNVBAsTFUNoaW5lc2UgVHJ1c3QgTmV0d29yazEgMB4GA1UE AxMXaVRydXNjaGluYSBDTiBSb290IENBLTEwHhcNMDExMDAxMDAwMDAwWhcNMTEwOTMwMjM1OTU5 WjBhMR0wGwYDVQQKExRpVHJ1c2NoaW5hIENvLiwgTHRkLjEeMBwGA1UECxMVQ2hpbmVzZSBUcnVz dCBOZXR3b3JrMSAwHgYDVQQDExdpVHJ1c2NoaW5hIENOIFJvb3QgQ0EtMTCBnzANBgkqhkiG9w0B AQEFAAOBjQAwgYkCgYEAzf+TP/emoMVdkXzmul2+Z8jCwDwScQiCyYQJkFEabxVvulo+uuqBpsPZ FZxeA4Jsd9ojsNc4VR6FKgaNXLcQc4V6oReeeba6Y8nPZsSFBtVb7PsSI6fZPK3WMrDHR/6dW/+p KjiL7oa4m5PnaNNgbCfarVGsL7+wRmgLKF3snDUCAwEAAaMdMBswDAYDVR0TBAUwAwEB/zALBgNV HQ8EBAMCAQYwDQYJKoZIhvcNAQEEBQADgYEAMNc5IAsdOoyEhAnwVHwUtPhRio54ckSUs/TsXKRW AeSF3VwG6Lc/9wgG7iS7sUNXS7UbeaTv5yG7JTJT8gU8R9yo4IqSV4lCmwCigclWtseWe12NgTZt v0z7wJYFCvZKFFl95wxA+XsICKgwCkxlHKflX+Om3QW8QvcNQ6cbYJ0wggMBMIICaqADAgECAhUA r4O5Y87E+kdjdEJZTwXPYF5QpMwwDQYJKoZIh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GJdGuNguaYmmTMYICOjCCAjYCAQEwgdYwgb0xHTAbBgNVBAoTFGlUcnVz Y2hpbmEgQ28uLCBMdGQuMR4wHAYDVQQLExVDaGluZXNlIFRydXN0IE5ldHdvcmsxQDA+BgNVBAsT N1Rlcm1zIG9mIHVzZSBhdCBodHRwczovL3d3dy5pdHJ1cy5jb20uY24vY3RucnBhIChjKTIwMDQx OjA4BgNVBAMTMWlUcnVzY2hpbmEgQ04gQ29uc3VtZXIgSW5kaXZpZHVhbCBTdWJzY3JpYmVyIENB LTECFHDaaPwFPrAMJ1x2lIzNnkUQLwYAMAkGBSsOAwIaBQCggbowGAYJKoZIhvcNAQkDMQsGCSqG SIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDcwMTA1MjMxMDI4WjAjBgkqhkiG9w0BCQQxFgQUu6Pd 1+Ud4Qt+MaT+ApQKMAw80AowWwYJKoZIhvcNAQkPMU4wTDAKBggqhkiG9w0DBzAOBggqhkiG9w0D AgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwBwYFKw4DAh0wDQYJ KoZIhvcNAQEBBQAEgYCSXR31ijMgRKmKzpEUMz5cg1kCBIXRH9GX9njqY5hPwTB78artjqRcENOs JhZAmjUxPft1CAxWC0Y7Ly3iqC9aZQkdxD5LJWTest0E97aN2PStlL+MftGlJGvZODX9mWt2IAHT /65Ii425vZbj3Fa51V6bTT+jS1WmMZUeyhJWdAAAAAAAAA== ------=_NextPart_000_0007_01C73161.BECC3070-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/