Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754824AbYC1BJ3 (ORCPT ); Thu, 27 Mar 2008 21:09:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752917AbYC1BJU (ORCPT ); Thu, 27 Mar 2008 21:09:20 -0400 Received: from zrnetservice.com ([209.133.52.163]:58076 "EHLO www.zrnetservice.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752469AbYC1BJU (ORCPT ); Thu, 27 Mar 2008 21:09:20 -0400 X-Greylist: delayed 2279 seconds by postgrey-1.27 at vger.kernel.org; Thu, 27 Mar 2008 21:09:20 EDT Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH 0 of 4] [RFC] hotplug memory: minor updates Message-Id: Date: Thu, 27 Mar 2008 17:28:36 -0700 From: Jeremy Fitzhardinge To: Ingo Molnar Cc: LKML , Rusty Russell , KAMEZAWA Hiroyuki , Yasunori Goto , Christoph Lameter , Dave Hansen , Andrew Morton Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 932 Lines: 26 Hi all, Here's a small set of patches for memory hotplug which I needed to get the Xen balloon driver working. 1. add add_memory_resource(), which allow a caller to provide the resource structure for memory being added, 2. add warnings when you try to add non-section-aligned and sized memory since it has undesireable results when you do so, and 3. decrease the i386 PAE section size to 2^29 (=512MB), since 1G is a bit too large for virtual memory ballooning (4. don't steal all memory in paravirt_disable_iospace) Still unresolved is how to prevent the user from onlining balloon memory via sysfs, since that will almost certainly cause the kernel to crash. Thanks, J -- 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/