From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752809Ab0CEOL1 (ORCPT ); Fri, 5 Mar 2010 09:11:27 -0500 Received: from nlpi157.sbcis.sbc.com ([207.115.36.171]:44798 "EHLO nlpi157.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752718Ab0CEOLZ (ORCPT ); Fri, 5 Mar 2010 09:11:25 -0500 Date: Fri, 5 Mar 2010 08:11:00 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@router.home To: Anca Emanuel cc: Nick Piggin , David Rientjes , Pekka Enberg , Andi Kleen , linux-kernel , linux-mm , "haicheng.li" , KAMEZAWA Hiroyuki Subject: Re: [patch] slab: add memory hotplug support In-Reply-To: Message-ID: References: <20100226114136.GA16335@basil.fritz.box> <20100226155755.GE16335@basil.fritz.box> <20100305062002.GV8653@laptop> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 5 Mar 2010, Anca Emanuel wrote: > Dumb question: it is possible to hot remove the (bad) memory ? And add > an good one ? Under certain conditions this is possible. If the bad memory was modified then you have a condition that requires termination of all processes that are using the memory. If its the kernel then you need to reboot. If the memory contains a page from disk then the memory can be moved elsewhere. If you can clean up a whole range like that then its possible to replace the memory. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with SMTP id CB3436B004D for ; Fri, 5 Mar 2010 09:11:23 -0500 (EST) Date: Fri, 5 Mar 2010 08:11:00 -0600 (CST) From: Christoph Lameter Subject: Re: [patch] slab: add memory hotplug support In-Reply-To: Message-ID: References: <20100226114136.GA16335@basil.fritz.box> <20100226155755.GE16335@basil.fritz.box> <20100305062002.GV8653@laptop> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Anca Emanuel Cc: Nick Piggin , David Rientjes , Pekka Enberg , Andi Kleen , linux-kernel , linux-mm , "haicheng.li" , KAMEZAWA Hiroyuki List-ID: On Fri, 5 Mar 2010, Anca Emanuel wrote: > Dumb question: it is possible to hot remove the (bad) memory ? And add > an good one ? Under certain conditions this is possible. If the bad memory was modified then you have a condition that requires termination of all processes that are using the memory. If its the kernel then you need to reboot. If the memory contains a page from disk then the memory can be moved elsewhere. If you can clean up a whole range like that then its possible to replace the memory. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org